IO.popen dosn't support forward slashes in Windows (diffrent behaviour to MRI)
------------------------------------------------------------------------------
Key: JRUBY-3237
URL: http://jira.codehaus.org/browse/JRUBY-3237
Project: JRuby
Issue Type: Bug
Environment: Windows XP
Reporter: Mikael Rudberg
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.6
Jruby produces error's When trying to launch a executable that includes forward
slashes in the path. This is different behavior than MRI were you both methods
work
irb(main):001:0> IO.popen("./temp/test.exe")
=> #<IO:0x1afd9cc>
irb(main):002:0> '.' is not recognized as an internal or external command,
operable program or batch file.
However back slashes work.
irb(main):004:0> IO.popen(".\\temp\\test.exe")
=> #<IO:0x145e5a6>
--
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