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

Added warning for command list and shell true #2653

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

pryce-turner
Copy link
Contributor

Stubbed my toe on some rather arcane behavior of subprocess.run so I decided to log a warning under this circumstance. More details here: https://medium.com/python-pandemonium/a-trap-of-shell-true-in-the-subprocess-module-6db7fc66cdfd

Signed-off-by: pryce-turner <pryce.turner@gmail.com>
Copy link
Collaborator

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, it's insane that someone thought that this was a good api. 🤯

Thanks for adding the warning!

@eapolinario eapolinario merged commit e39121a into master Aug 6, 2024
97 checks passed
@pryce-turner pryce-turner deleted the pryce/add-subproc-warning branch August 6, 2024 15:40
mao3267 pushed a commit to mao3267/flytekit that referenced this pull request Aug 9, 2024
Signed-off-by: mao3267 <chenvincent610@gmail.com>
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.

3 participants