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

support multi-word arguments in run command #5417

Open
aryairani opened this issue Oct 20, 2024 · 0 comments
Open

support multi-word arguments in run command #5417

aryairani opened this issue Oct 20, 2024 · 0 comments

Comments

@aryairani
Copy link
Contributor

aryairani commented Oct 20, 2024

Is your feature request related to a problem? Please describe.
@etorreborre> How do you quote arguments with the run command? Say your command is run mymain "my first arg" "my second arg" and you want "my first arg" and "my second arg" to be passed as strings despite the spaces.

@kylegoetz> Best I can tell, it's not possible unless you Text.join with " " and then re parse. That's what I've been doing.

Previous attempt at #3878

Describe the solution you'd like
Devise and implement some quoting mechanism for run.

Also see #2805, #5193, relating to "numbered args" substitution, which we probably don't want at all for run, beyond the first arg that specifies the program to run.

Describe alternatives you've considered
A possible workaround by launching from the command-line, using the shell's treatment of quoted args also doesn't work, at minimum because we can't specify projects there yet, #4253

Additional context

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

No branches or pull requests

1 participant