Sha256: 698f44442452bdfdca1df0ebffbb643cc0730e014f683986cf99e5d0b14ecd64
Contents?: true
Size: 159 Bytes
Versions: 4
Compression:
Stored size: 159 Bytes
Contents
require "./lib/kommando" k = Kommando.new "$ echo 'hello\nworld' | rev | rev" k.run raise "err" unless k.out == "hello\r\nworld" puts "shell says: #{k.out}"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kommando-0.0.12 | examples/shell.rb |
kommando-0.0.11 | examples/shell.rb |
kommando-0.0.10 | examples/shell.rb |
kommando-0.0.9 | examples/shell.rb |