Skip to content
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

ARGS are not parse correctly with quotation marks #66

Open
BKaperick opened this issue Dec 17, 2023 · 1 comment
Open

ARGS are not parse correctly with quotation marks #66

BKaperick opened this issue Dec 17, 2023 · 1 comment

Comments

@BKaperick
Copy link
Contributor

When passing CLI arguments, julia handles spaces within quotation marks. That is,

julia main.jl arg1 "arg2 is quoted"

will have

ARGS = ["arg1", "arg2 is quoted"]

while when passed via DaemonMode,

ARGS = ["arg1", "arg2", "is", "quoted", "arg3"]

I believe the bug is on this line:

args = split(args_str, " ")

@nsajko
Copy link

nsajko commented Jan 17, 2024

When passing CLI arguments, julia handles spaces within quotation marks.

Which OS/terminal do you use? What you say is not correct for Unix, where that is handled by the shell, not by Julia. Don't know about other OS/terminal combinations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants