I managed to screw up the noformat tags in my description, so half of my original description got cut out. I just added a comment to this issue with the remainder of my original discussion.
On 11/7/07, Matt Fletcher (JIRA) <[EMAIL PROTECTED]> wrote: > > Using backticks to run a new JRuby changes the file path separator > ------------------------------------------------------------------ > > Key: JRUBY-1544 > URL: http://jira.codehaus.org/browse/JRUBY-1544 > Project: JRuby > Issue Type: Bug > Components: Core Classes/Modules > Affects Versions: JRuby 1.1b1, JRuby 1.0.2 > Environment: Windows XP with Java 1.4.2, 1.5 > Reporter: Matt Fletcher > Priority: Minor > Attachments: test_dir_pwd_in_new_process.rb > > Attached to this message is a test case showing how starting a new JRuby > process causes the file path separator to change. Let me show you the test > case before I continue discussion. > > Paste of test case: > ============== > {noformat} > require "test/unit" > require "fileutils" > > class DirPwdTest < Test::Unit::TestCase > def test_dir_pwd_in_backticks > assert_equal Dir.pwd, `set VAR=stuffz&& jruby -e "print Dir.pwd"` > assert_equal Dir.pwd, `jruby -e "print Dir.pwd"` > end > end > {noformat} > ============== > > Output from test failure: > ============== > {noformat} > 1) Failure: > test_dir_pwd_in_backticks(DirPwdTest) [test_dir_pwd_in_new_process.rb:7]: > <"C:/svn/doc"> expected but was > <"C:\\svn\\doc">. > > -- > 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 > >
