Sha256: d69c88974858a52fa6602c8ef0741e28461add7278377ff1b4dd3fdb44844e9d
Contents?: true
Size: 154 Bytes
Versions: 4
Compression:
Stored size: 154 Bytes
Contents
# encoding: utf-8 require 'tty-command' cmd = TTY::Command.new out, err = cmd.run("echo 'hello'", :out => :err) puts "out: #{out}" puts "err: #{err}"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tty-command-0.8.1 | examples/redirect_stderr.rb |
tty-command-0.8.0 | examples/redirect_stderr.rb |
tty-command-0.7.0 | examples/redirect_stderr.rb |
tty-command-0.6.0 | examples/redirect_stderr.rb |