-
-
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
REPL shell mode calls the shell with incorrectly escaped arguments #10120
Comments
@StefanKarpinski #4635 seems to have had a long tail of bug fixes, but it still doesn't work work for any non-trivial argument list (see above). Is there any chance of fixing this behavior? Or is nobody actually using this feature? Brainstorming with Jeff, it seems we might need a custom command parser that handles ping other possible interested parties from looking at who's contributed to this function: @stevengj @staticfloat @Keno @JeffBezanson since nobody else seems to notice this, perhaps we should just reclaim the |
I use |
do you just run simple commands like |
I tend to use pipes and redirects pretty often as well, so the shell mode is definitely useful. |
Please ask for a second opinion before adding the backport pending tag on anything non-trivial. |
@tkelman Apologies. Removed. |
We can maybe put it back, but interactive shell-mode related changes need a lot of hands-on testing time and are at higher-than-usual risk of platform differences so I don't want to rush things between RC and final. Maybe post-0.4.0. |
I think I just stumbled over this bug while trying to use
where
It works fine run from the command line with bash:
Incidentally, (Edit: turns out we can work around the bug by calling (Edit 2: On second thought, the issue was that there was a comment in the file before |
what is the shebang line set to in the script? julia isnt calling the shell, it's calling uv_spawn |
please do not hijack this issue to discuss unrelated questions. use Stack-Overflow or julia-users instead. |
@vtjnash Sorry. I wouldn't have brought it up if I didn't think my issue was the same fundamental issue. |
@lkuper no worries, and thanks for using Julia. The shell situation still clearly has a few rough edges. |
The text was updated successfully, but these errors were encountered: