Backtick bug on Windows - `cd` causes IOError
---------------------------------------------

                 Key: JRUBY-2829
                 URL: http://jira.codehaus.org/browse/JRUBY-2829
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: JRuby 1.1.3, Windows XP, Java 1.6
            Reporter: Daniel Berger


There's some sort of strange backtick bug on Windows with regards to the "cd" 
command.

MRI:
{noformat}
C:\Documents and Settings\djberge\workspace\ruby_test>irb
irb(main):001:0> `cd`
=> "C:\\Documents and Settings\\djberge\\workspace\\ruby_test\n"
{noformat}

JRuby:
{noformat}
C:\Documents and Settings\djberge\workspace\ruby_test>jirb
irb(main):001:0> `cd`
IOError: Cannot run program "cd" (in directory "C:\Documents and 
Settings\djberge\workspace\ruby_test"): CreateProcess error=2, The system 
cannot find the file specified
{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