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
Execution is always as a shell #100
Labels
bug
Something isn't working
Comments
This was not really by accident, it was more of by design. Still, I would not refuse a change that makes it behave more like subprocess.run, where you can also specify shell as true or not. |
ssbarnea
changed the title
(🐞) Execution is always as a shell
Execution is always as a shell
May 6, 2023
Would you accept a change that makes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is no space in the command
Will not use the shell, but with:
will be run as a shell.
I think it would be fairly simple to update the functionality to use
create_subprocess_shell
if a string is passed, andcreate_subprocess_exec
if a iterable is passed.The text was updated successfully, but these errors were encountered: