14 15 16 17 18 19 20 21
# File 'lib/pytty/client/cli/yield_command.rb', line 14 def execute process_yield = Async.run do json = Pytty::Client::Api::Yield.run cmd: cmd_list, id: name, env: {} ::Pytty::Client::ProcessYield.from_json json end.wait puts process_yield.id end