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

run should accept trailing arguments #17

Closed
baszalmstra opened this issue May 5, 2023 · 0 comments · Fixed by #19
Closed

run should accept trailing arguments #17

baszalmstra opened this issue May 5, 2023 · 0 comments · Fixed by #19

Comments

@baszalmstra
Copy link
Contributor

baszalmstra commented May 5, 2023

currently run only supports a single argument. We need to capture extra arguments and pass them to the invocation. This requires proper quoting in the activation scripts!

This doesn't work

pax run python --version

this does:

pax run python

See: https://docs.rs/clap/latest/clap/struct.Arg.html#method.trailing_var_arg

@baszalmstra baszalmstra changed the title run should accept arguments run should accept trailing arguments May 5, 2023
@wolfv wolfv added this to the v0.1.0 milestone May 5, 2023
@wolfv wolfv closed this as completed in #19 May 7, 2023
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

Successfully merging a pull request may close this issue.

2 participants