Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Intro, Miscellaneous
-
Labels:None
-
Environment:trunk, windows vista, jdk 6 update 10
-
Number of attachments :
Description
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.