IO.popen read/write pipe now passes spec
Reported by Adam Wiggins | April 26th, 2008 @ 10:46 PM | in 1.0 preview
I wrote a spec for IO.popen last week that passed on MRI but failed on Rubinius with a TODO exception. This patch adds this functionality and removes the fails tag from that spec.
Comments and changes to this ticket
-
Dirkjan Bussink April 27th, 2008 @ 04:12 AM
Hmm, this seems to introduce an infinite wait in the Process.wait2 spec. Looks like the popen stuff might leave some process running, because the Process.wait2 specs have a before(:all) that waits on all processes before continuing.
I don't see this problem on MRI, so it's probably somewhere in the popen changes.
-
Adam Wiggins April 27th, 2008 @ 03:04 PM
Good catch. I added a line to kill the child process when the fork ends. Updated patch attached.
-
Ryan Davis April 29th, 2008 @ 04:45 PM
- → Assigned user changed from to Eric Hodel
-
Eric Hodel May 12th, 2008 @ 05:29 PM
- → State changed from new to resolved
It appears this patch was applied already.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
