p = IO.popen('sleep 60') ; p p.pid  reports wrong PID
-----------------------------------------------------

                 Key: JRUBY-2977
                 URL: http://jira.codehaus.org/browse/JRUBY-2977
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.4
         Environment: Fedora Linux 9, JRuby 1.1.4, Sun Java 1.6.0_06
            Reporter: Uwe Kubosch


In jirb or in a program:

{noformat}
p = IO.popen('sleep 60') 
p p.pid
{noformat}

The reported PID is completely wrong, for example 7885469 which I believe is 
out of range for PIDs on 32bit Linux.


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