Sha256: 92be7a3845c0a390978a84bb8c8a1d5752740faa1d596a3a3814500ba539877d
Contents?: true
Size: 151 Bytes
Versions: 2
Compression:
Stored size: 151 Bytes
Contents
# encoding: utf-8 require 'tty-command' cmd = TTY::Command.new out, err = cmd.run("env | grep FOO", env: { 'FOO' =>'hello'}) puts "Result: #{out}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tty-command-0.8.1 | examples/env.rb |
tty-command-0.8.0 | examples/env.rb |