Skip to content

Add subprocess.run to B602 #334

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
Jul 11, 2018
Merged

Add subprocess.run to B602 #334

merged 1 commit into from
Jul 11, 2018

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Jul 10, 2018

Python 3.5 introduced yet another subprocess function, run(). Like
the the APIs before it like call(), Popen(), etc it has a shell
parameter and can lead to shell injection when used incorrectly.

https://docs.python.org/3.5/library/subprocess.html#subprocess.run

Signed-off-by: Eric Brown browne@vmware.com

Python 3.5 introduced yet another subprocess function, run(). Like
the the APIs before it like call(), Popen(), etc it has a shell
parameter and can lead to shell injection when used incorrectly.

https://docs.python.org/3.5/library/subprocess.html#subprocess.run

Signed-off-by: Eric Brown <browne@vmware.com>
@ericwb ericwb requested review from lukehinds, a team, ghugo and sigmavirus24 and removed request for a team July 10, 2018 21:55
@ericwb ericwb merged commit a41cd90 into PyCQA:master Jul 11, 2018
@ericwb ericwb deleted the subprocess.run branch July 12, 2018 20:47
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 this pull request may close these issues.

2 participants