Sha256: aaa80268a86e509177b845c70c2dabfa30ff3754f9a832e56032e88e8509ee19
Contents?: true
Size: 149 Bytes
Versions: 4
Compression:
Stored size: 149 Bytes
Contents
# encoding: utf-8 require 'tty-command' cmd = TTY::Command.new out, err = cmd.run(:ls, :out => 'ls.log') 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_stdout.rb |
tty-command-0.8.0 | examples/redirect_stdout.rb |
tty-command-0.7.0 | examples/redirect_stdout.rb |
tty-command-0.6.0 | examples/redirect_stdout.rb |