[windows] IO.popen('"ls" -l') crashes JRuby
-------------------------------------------

                 Key: JRUBY-4328
                 URL: http://jira.codehaus.org/browse/JRUBY-4328
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Windows
    Affects Versions: JRuby 1.4
         Environment: jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-08 
ac40552) (Java HotSpot(TM) Client VM 1.6.0_17) [x86-java]
            Reporter: Vladimir Sizikov
             Fix For: JRuby 1.5


{code}
IO.popen('"ls" -l')
{code}

produces:

{noformat}
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:530:in `popenShared'
        from ShellLauncher.java:511:in `popen'
        from RubyIO.java:3417:in `popen'
        from org/jruby/RubyIO$s_method_0_1$RUBYINVOKER$popen.gen:-1:in `call'
        from DynamicMethod.java:190:in `call'
        from DynamicMethod.java:186:in `call'
        from CachingCallSite.java:309:in `cacheAndCall'
        from CachingCallSite.java:148:in `call'
        from popen_test.rb:1:in `__file__'
        from popen_test.rb:-1:in `load'
        from Ruby.java:632: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'
{noformat}


-- 
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


Reply via email to