class Run
Public Instance Methods
run(options)
click to toggle source
# File src/commands/run.rb, line 8 def run (options) if !isRunning? $stdout.puts "Shuttl not running! run shuttl start".red return end fd = IO.sysopen "/dev/tty", "w" ios = IO.new(fd, "w") output = @container.exec(@args, tty: true) do |stream| ios.print stream end ios.close end