-
Notifications
You must be signed in to change notification settings - Fork 476
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
Passing arguments for python different than node? I needed to add -- #2246
Comments
Hmmm, since my node arguments are -c #123456, maybe the parsing is ambiguous since my option -c #123456 could be for node or for my color script and -- disambiguates it. Yet I don't have the ambiguity on the command line, just through just. <-- ambiguous pun? Maybe I would have the ambiguity on python too if my args were options like -c. |
Does your justfile set the shell to zsh? From https://just.systems/man/en/chapter_27.html#shell -
And in Without knowing the specific Python script and NodeJS script you're using, no idea what else might be causing the differences. |
I would be very surprised if this was caused by |
@laniakea64 thank you. Just FYI. The unquoted #123456 was indeed the issue. My shell seems fine. set shell := ['zsh', '-cu'], and #123456 is fine as an argument in zsh. But I suspect that in its processing journey it is treated as a comment somehow. Wrapping the second argument with double quotes within justfile works: |
Using python via justfile, this works:
Using node on zsh prompt, passing #123456 as argument, this works:
Using node via justfile, this does NOT work, even though just says it runs the same as above.
Using node via justfile, this DOES work:
Is this expected?
The text was updated successfully, but these errors were encountered: