exec() would be more useful if it really exec()ed
-------------------------------------------------
Key: JRUBY-5082
URL: http://jira.codehaus.org/browse/JRUBY-5082
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.5.2
Environment: Mac OS X Snow Leopard running JRuby via RVM
Reporter: James Edward Gray II
Priority: Minor
exec() doesn't actually replace the current process as seen by this code:
p $$
exec('echo $$')
This causes issues when working with things like PID files, since they can
point to the wrong process.
I don't see the advantage of having this not work where it can, since I can
always run processes normally using system(), ``, IO.popen(), open3, etc.
--
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