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.
Activity
Thomas E Enebo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Miscellaneous [ 12320 ] | |
| Assignee | Thomas E Enebo [ enebo ] |
Charles Oliver Nutter
made changes -
| Summary | Using the -r switch blocks waiting for input from the terminal | Cannot run scripts in classpath (but not on filesystem) without using -r and a false -e argument |
Charles Oliver Nutter
made changes -
| Component/s | Intro [ 14308 ] |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Resolution | Incomplete [ 4 ] |