[windows] `"dir" .` throws java.lang.IllegalArgumentException
-------------------------------------------------------------
Key: JRUBY-4127
URL: http://jira.codehaus.org/browse/JRUBY-4127
Project: JRuby
Issue Type: Bug
Components: Windows
Affects Versions: JRuby 1.4.0RC1
Reporter: Vladimir Sizikov
Create a file, say, cmd.rb
{code:title=cmd.rb|borderStyle=solid}
print `"dir" .`
{code}
Then:
{code}
#> jruby cmd.rb
ProcessImpl.java:69:in `<init>': java.lang.IllegalArgumentException
from ProcessImpl.java:30:in `start'
from ProcessBuilder.java:452:in `start'
from Runtime.java:593:in `exec'
from ShellLauncher.java:677:in `run'
from ShellLauncher.java:238:in `runAndWait'
from RubyKernel.java:1305:in `backquote'
from org/jruby/RubyKernel$s_method_1_0$RUBYINVOKER$backquote.gen:-1:in
`call'
from CachingCallSite.java:310:in `cacheAndCall'
from CachingCallSite.java:149:in `call'
from cmd.rb:1:in `__file__'
from cmd.rb:-1:in `load'
from Ruby.java:628:in `runScript'
from Ruby.java:550:in `runNormally'
from Ruby.java:396:in `runFromMain'
from Main.java:272:in `run'
from Main.java:117:in `run'
from Main.java:97:in `main'
{code}
--
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