Sha256: 60974cd1e43a20f541078f58033e2782f13ebcf3fa7e7f931c6257a7eed73149
Contents?: true
Size: 190 Bytes
Versions: 1
Compression:
Stored size: 190 Bytes
Contents
require "./lib/kommando" k = Kommando.new "sleep 2", { timeout: 0.5 } k2 = Kommando.new "sleep 2", { timeout: 0.5 } k.run k2.run if k.code == 1 && k2.code == 1 puts "timed out" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kommando-0.0.13 | examples/timeout.rb |