Sha256: 0e0b22c400091270df571100853ad807322542ffe2d4f1ac08a21a1c6f2f3526

Contents?: true

Size: 208 Bytes

Versions: 13

Compression:

Stored size: 208 Bytes

Contents

require 'open3'

# capture3 handles the deadlock problem of popen3, no deadlock occurs

cmd_array = ['./cat_64k.rb']
stdout, stderr, status = Open3.capture3(*cmd_array, :stdin_data => '')

puts 'no daedlock'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
frontkick-0.5.7 experiment/capture3_no_deadlock.rb
frontkick-0.5.6 experiment/capture3_no_deadlock.rb
frontkick-0.5.5 experiment/capture3_no_deadlock.rb
frontkick-0.5.4 experiment/capture3_no_deadlock.rb
frontkick-0.5.3 experiment/capture3_no_deadlock.rb
frontkick-0.5.2 experiment/capture3_no_deadlock.rb
frontkick-0.5.1 experiment/capture3_no_deadlock.rb
frontkick-0.5.0 experiment/capture3_no_deadlock.rb
frontkick-0.4.9 experiment/capture3_no_deadlock.rb
frontkick-0.4.8 experiment/capture3_no_deadlock.rb
frontkick-0.4.7 experiment/capture3_no_deadlock.rb
frontkick-0.4.6 experiment/capture3_no_deadlock.rb
frontkick-0.4.5 experiment/capture3_no_deadlock.rb