-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to run REPL after running a program #10692
Conversation
How is this different than |
There are several reasons. The The Plus, it's more generally useful. It can be used in conjunction with |
It sounds like I agree the -e, -E, -P, and -L options are too complicated. All you actually need are |
I see |
It would be great to remove some of these redundant options. |
Couldn't there be a function that opens up the REPL from within a program. Something like |
Could someone please clarify what are the obstacles to merging this PR? |
It would be best to fix the existing options rather than add a new one. |
What exactly is the broken option? Should -i cause the REPL to be run? Is that what "Force isinteractive() to be true" in the --help output means? Is there an existing issue for that? |
Right now |
Currently, running
julia program.jl
causes Julia to exit after the program finishes. For program development, it frequently makes sense to stay in the REPL after the program finishes. This pull request adds the-I
option (--force-repl
long option) to do this.