Sha256: 6c55f0ffd2e07cad35ce537b6168384896d2208755afd5ecea71e1175a8807aa
Contents?: true
Size: 177 Bytes
Versions: 2
Compression:
Stored size: 177 Bytes
Contents
# frozen_string_literal: true require_relative '../lib/tty-command' cmd = TTY::Command.new out, err = cmd.run(:ls, :out => 'ls.log') puts "OUT>> #{out}" puts "ERR>> #{err}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tty-command-0.9.0 | examples/redirect_stdout.rb |
tty-command-0.8.2 | examples/redirect_stdout.rb |