You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a ruby program (prova5.rb) that contains a xml find. I use libxml-ruby gem.
With Ruby 2.1.8 I have no problem, even if I execute it via "ruby prova5.rb" than if I execute it via io.popen in prova2.rb.
In a 2.2.4 environment I have success if I execute "ruby prova5.rb", but xml find stucks if I execute it via prova2.rb (io-popen).
I attach prova5.rb, prova2.rb out218.txt and out224.txt.
Activity
blackwinter commentedon Jan 5, 2016
Associated Ruby issue: #11909.
Related libxml-ruby issue: #109 (executing
test.rbviaIO.popenexhibits the same problem).cfis commentedon Jun 11, 2016
So I could not reproduce this. But if you still have the issue, turn off buffering on the ruby io objects. STDOUT.sync = true