Kernel#exec should return subprocess exit value and immediately bubble out of 
caller
------------------------------------------------------------------------------------

                 Key: JRUBY-1988
                 URL: http://jira.codehaus.org/browse/JRUBY-1988
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.1RC2


Kernel#exec normally replaces the current process with the subprocess. In our 
case, that's not yet possible (or not advisable), so we need to spin up the 
subprocess, return its exit code, and then exit the calling JRuby "process".

The current code continues executing after exec returns, and if the subprocess 
returns a nonzero exit code it throws ENOENT.

Fix coming.

-- 
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

Reply via email to