Using the -r switch blocks waiting for input from the terminal
--------------------------------------------------------------

                 Key: JRUBY-3539
                 URL: http://jira.codehaus.org/browse/JRUBY-3539
             Project: JRuby
          Issue Type: Improvement
         Environment: trunk, windows vista, jdk 6 update 10


            Reporter: Ricardo Trindade
            Assignee: Thomas E Enebo
            Priority: Minor


Since a recent update, using the -r command line switch to require a file will 
block waiting for input from the console. This appears to be the correct 
behaviour.

Since this is now happening, the -r switch can no longer be used to run a 
script from the classpath, unless a 'fake' -e switch is used.

A possible solution would be for jruby to also search for the initial script in 
the classpath, instead of only looking in the filesystem.



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