Sha256: 5666963b6613d13c60598487ea39e360dc3c8a200a10b3e9ccd2321913035a3a

Contents?: true

Size: 135 Bytes

Versions: 7

Compression:

Stored size: 135 Bytes

Contents

# encoding: utf-8

require 'tty-command'

cmd = TTY::Command.new

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

puts "Result: #{out}"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tty-command-0.4.0 examples/basic.rb
tty-command-0.3.3 examples/basic.rb
tty-command-0.3.2 examples/basic.rb
tty-command-0.3.1 examples/basic.rb
tty-command-0.3.0 examples/basic.rb
tty-command-0.2.0 examples/basic.rb
tty-command-0.1.0 examples/basic.rb