popen4 reports wrong PID on Windows
-----------------------------------
Key: JRUBY-4907
URL: http://jira.codehaus.org/browse/JRUBY-4907
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5.1
Environment: Windows XP 32.
Reporter: John-Mason P. Shackelford
Assignee: Thomas E Enebo
Running the following should illustrate:
pid,stdin,stdout,stderr = IO.popen4('c:\ruby187\bin\ruby.exe')
puts pid
stdin.puts "puts Process::pid; exit 1"
stdin.close
puts stdout.read
puts stderr.read
--
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