Sha256: 5adb0ef37743577525dd89ac3da23f17ee3b708aa9fb25395593b4f522b619c0

Contents?: true

Size: 216 Bytes

Versions: 6

Compression:

Stored size: 216 Bytes

Contents

require "./lib/kommando"

k = Kommando.run "$ echo hello"
raise "err" unless k.out == "hello"

puts k.out

k = Kommando.run_async "$ echo hello"
k.wait

raise "err" unless k.out == "hello"

Kommando.puts "$ echo ok"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kommando-0.0.21 examples/shorthands.rb
kommando-0.0.19 examples/shorthands.rb
kommando-0.0.18 examples/shorthands.rb
kommando-0.0.17 examples/shorthands.rb
kommando-0.0.16 examples/shorthands.rb
kommando-0.0.15 examples/shorthands.rb