class Pytty::Client::Cli::SpawnCommand
Public Instance Methods
execute()
click to toggle source
# File lib/pytty/client/cli/spawn_command.rb, line 13 def execute Async.run do for id in id_list response, body = Pytty::Client::Api::Spawn.run id: id, tty:true, interactive:true unless response.status == 200 puts body exit 1 else puts id end end end end