![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Thomas E Enebo
|
Created:
|
26/Dec/12 2:17 PM
|
Description:
|
given this file test.rb:
a = %Unable to render embedded object: File ("something=\\"%m/%d/%y %Hh %Mm %Ss\\") not found.
system("ruby show_args.rb #{a}")
where show_args.rb is a file with just one line "p ARGV"
with MRI I get this output:
$ ruby -v go2.rb.txt
ruby 1.9.3p327 (2012-11-10) [i386-mingw32]
["something=\"%m/%d/%y %Hh %Mm %Ss\""]
$ jruby go2.rb.txt
jruby 1.7.1 (1.9.3p327) 2012-12-03 30a153b on Java HotSpot(TM) Client VM 1.6.0_33-b03 [Windows 7-x86]
["something=%m/%d/%y", "%Hh", "%Mm", "%Ss"]
You can see that it's splitting up the args poorly. Just with "system" IO.popen seems to work as expected.
Thanks.
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Roger Pack
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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