Closed babelfish closed 6 years ago
2.4.0 (main):0 > cmd = TTY::Command.new #<TTY::Command:0x007fe751c0cca0 @output=#<IO:<STDOUT>>, @color=true, @uuid=true, @printer_name=:pretty, @dry_run=false, @printer=#<TTY::Command::Printers::Pretty:0x007fe751c0f2c0 @output=#<IO:<STDOUT>>, @options={:color=>true, :uuid=>true}, @enabled=true, @color=#<Pastel @styles=[]>>> 2.4.0 (main):0 > cmd.run('echo foo', stderr: :stdout) [b0c321ca] Running echo foo TypeError: no implicit conversion from nil to integer from /Users/benjamin/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/tty-command-0.5.0/lib/tty/command/process_runner.rb:65:in `kill'
Thanks for using the library and submitting this issue.
I've fixed redirections, added new docs and released v0.6.0. Enjoy!
v0.6.0