Using backquotes to run commands with shell redirects still sometimes passes 
the redirects to the called program
----------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-3906
                 URL: http://jira.codehaus.org/browse/JRUBY-3906
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.3.1
            Reporter: John Firebaugh


JRUBY-1557 was not fixed in all cases. The following will still fail:

    assert_equal "arguments: three four", `ruby ./arguments three four 2>&1`, 
"wrong arguments when run with ruby prefix"
    assert_equal "arguments: five six", `jruby ./arguments five six 2>&1`, 
"wrong arguments when run with jruby prefix"

This bug causes rdebug to fail with the following cryptic error:

File not found: 2>&1


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