Skip to content

Avoid shell=True in subprocess.call() #73

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

Merged
merged 1 commit into from
Oct 30, 2018
Merged

Avoid shell=True in subprocess.call() #73

merged 1 commit into from
Oct 30, 2018

Conversation

tripleee
Copy link
Contributor

The code doesn't need the shell for anything so this should be more efficient, as well as potentially more secure, and hopefully instructive for readers of the code.

See also https://stackoverflow.com/questions/3172470/actual-meaning-of-shell-true-in-subprocess

The code doesn't need the shell for anything so this should be more efficient, as well as potentially more secure, and hopefully instructive for readers of the code.

See also https://stackoverflow.com/questions/3172470/actual-meaning-of-shell-true-in-subprocess
@codingo codingo self-assigned this Oct 30, 2018
@codingo codingo merged commit 3b3ff94 into codingo:master Oct 30, 2018
@codingo
Copy link
Owner

codingo commented Oct 30, 2018

Excellent, thank-you!

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

Successfully merging this pull request may close these issues.

2 participants