Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.5
-
Fix Version/s: None
-
Component/s: Windows
-
Labels:None
-
Environment:Windows XP
-
Number of attachments :
Description
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>
Won't be in 1.1.6, but perhaps we can fix for 1.1.7? Help coming up with tests and patches, please!