Process.kill doesn't return a correct value
-------------------------------------------

                 Key: JRUBY-4468
                 URL: http://jira.codehaus.org/browse/JRUBY-4468
             Project: JRuby
          Issue Type: Bug
         Environment: OS X Snow Leopard
            Reporter: Hongli Lai
            Assignee: Thomas E Enebo


Using JRuby git master.

Process.kill doesn't seem to return a correct value. I'm using Process.kill(0, 
pid) to check whether a process is alive, but JRuby always returns 1 no matter 
what. Same is true even for other signals, e.g. Process.kill('TERM', 
nonexistent_pid) returns 1 as well.

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