IO.popen4 should return status when using blocks
------------------------------------------------
Key: JRUBY-5673
URL: http://jira.codehaus.org/browse/JRUBY-5673
Project: JRuby
Issue Type: Improvement
Components: Extensions
Affects Versions: JRuby 1.6
Reporter: Marek Goldmann
This is on MRI:
irb(main):016:0> Open4::popen4('ls /') { |pid, stdin, stdout, stderr| }
=> #<Process::Status: pid=12850,exited(0)>
But IO.popen4 produces:
irb(main):045:0> IO.popen4('ls /') { |pid, stdin, stdout, stderr| }
=> nil
This makes it very hard to distinguish processes that exited normally from
aborted processes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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