Different system("start ...") behavior than MRI on Windows
----------------------------------------------------------
Key: JRUBY-5493
URL: http://jira.codehaus.org/browse/JRUBY-5493
Project: JRuby
Issue Type: Bug
Components: Windows
Affects Versions: JRuby 1.6RC2, JRuby 1.6RC1, JRuby 1.5.6
Environment: Windows 7 Ultimate 32-bit with "java -version"
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
Reporter: Jon
On both 1.5.6 and 1.6.0.RC2 on Windows 7 Ultimate 32-bit, both
{{jruby -Xlaunch.inproc=false -ve "system('start dxdiag.exe')"}}
{{jruby --1.9 -Xlaunch.inproc=false -ve "system('start dxdiag.exe')"}}
fail to immediately return until the launched process exits.
On MRI 1.8.7-p330, 1.9.2p136, 1.9.2p174, and 1.9.3dev (2011-02-12 trunk 30845)
using RubyInstaller builds, all invocations immediately return rather than
waiting for the launched process to exit.
Test script: https://gist.github.com/811728
ML thread:
http://groups.google.com/group/jruby-users/browse_thread/thread/8a4ba962a7cbbeaf
--
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