Xavier Shay created JRUBY-6406:
----------------------------------
Summary: 1.6.6 popen4 regression: returns incorrect exit status
Key: JRUBY-6406
URL: https://jira.codehaus.org/browse/JRUBY-6406
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.6
Environment: OSX 10.7.2
Reporter: Xavier Shay
Assignee: Thomas E Enebo
{code}
jruby-1.6.5 :001 > IO.popen4("sh -c \"echo\"; echo $?") {}; $?
=> #<Process::Status: pid=36500,exited(0)>
jruby-1.6.6 :002 > IO.popen4("sh -c \"echo\"; echo $?") {}; $?
=> #<Process::Status: pid=36395,exited(143)>
{code}
Note the exit code on 1.6.6 is 143, not 0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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