Project

General

Profile

Actions

Bug #11909

closed

io.popen problem in 2.2 and over

Added by pierisimone (Simone Pieri) almost 9 years ago. Updated about 8 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
Backport:
[ruby-core:72557]

Description

Hi, I have a ruby program (prova5.rb) that contains libxml prase and a find. 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.

I attach prova5.rb, prova2.rb out218.txt and out224.txt.

Same problem in all 2.2 versions.

Thanks


Files

prova5.rb (334 Bytes) prova5.rb pierisimone (Simone Pieri), 12/28/2015 03:36 PM
prova2.rb (269 Bytes) prova2.rb pierisimone (Simone Pieri), 12/28/2015 03:36 PM
out218.txt (292 Bytes) out218.txt pierisimone (Simone Pieri), 12/28/2015 03:38 PM
out224.txt (280 Bytes) out224.txt pierisimone (Simone Pieri), 12/28/2015 03:41 PM
prova6.rb (241 Bytes) prova6.rb pierisimone (Simone Pieri), 12/30/2015 10:09 AM
prova2.rb (184 Bytes) prova2.rb pierisimone (Simone Pieri), 12/30/2015 10:10 AM
Result.txt (235 Bytes) Result.txt pierisimone (Simone Pieri), 12/30/2015 10:14 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0