Sha256: 63ed1031825be69881da20afc63415c11171fe5a70bc9d3c09d17bf64a84837f

Contents?: true

Size: 159 Bytes

Versions: 1

Compression:

Stored size: 159 Bytes

Contents

require "./lib/kommando"

k = Kommando.run_async "sleep 0.5"
puts "started in background"

while (k.code == nil) do
  print "."
  sleep 0.1
end

puts "exited"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kommando-0.0.13 examples/async.rb