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

Replace os.system with subprocess #73

Closed
jberkus opened this issue Sep 27, 2022 · 1 comment · Fixed by #76
Closed

Replace os.system with subprocess #73

jberkus opened this issue Sep 27, 2022 · 1 comment · Fixed by #76

Comments

@jberkus
Copy link
Member

jberkus commented Sep 27, 2022

Our code uses os.system() in several places. This is a deprecated approach in Python. We should go through and replace it with subprocess(), partly for the benefit in trapping errors.

Ref #72

@jberkus
Copy link
Member Author

jberkus commented Sep 29, 2022

Opinions on using subprocess.call() vs. subprocess.run()? Python 3.5 is 7 years old now, requring it doesn't seem like a major issue.

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.

1 participant