Process.spawn seems to be completely broken
-------------------------------------------

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


Test case:

  pid = Process.spawn("echo hello world")
  Process.waitpid(pid)

On MRI 1.9:

  hello world

On JRuby:

  foo.rb:2: No child processes - No child processes (Errno::ECHILD)

Removing the waitpid prevents the script from crashing, but it doesn't display 
any output on the console.

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