'Bad file descriptor' when using IO.popen4 w
--------------------------------------------
Key: JRUBY-6205
URL: https://jira.codehaus.org/browse/JRUBY-6205
Project: JRuby
Issue Type: Bug
Components: Ruby 1.8.7
Affects Versions: JRuby 1.6.4, JRuby 1.5.6
Environment: 3.0.0-12-generic #20-Ubuntu SMP, OpenJDK Runtime
Environment (IcedTea7 2.0pre) (7~b147-2.0~pre6-1ubuntu1)
Reporter: Nick Griffiths
Priority: Minor
I've noticed that occasionally I get Errno::EBADF, which i've managed to reduce
down to this:
ruby -e "1000.times { puts IO.popen4('echo cats') {|a,b,c,d| c.read }}"
On my lappy this usually fails within the first few iterations of the loop.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email