Sha256: fe5cfdf442b84d87ccc913cffc63e3573a0f5e08f550f305f43f0b3c1507018d

Contents?: true

Size: 131 Bytes

Versions: 5

Compression:

Stored size: 131 Bytes

Contents

# encoding: utf-8

require 'tty-command'

cmd = TTY::Command.new

out, err = cmd.run(:echo, 'hello world!')

puts "Result: #{out}"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tty-command-0.8.1 examples/basic.rb
tty-command-0.8.0 examples/basic.rb
tty-command-0.7.0 examples/basic.rb
tty-command-0.6.0 examples/basic.rb
tty-command-0.5.0 examples/basic.rb