Skip to content

Avoid using os.system and use subprocess interface instead #203

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

Open
comcon1 opened this issue Dec 3, 2024 · 0 comments
Open

Avoid using os.system and use subprocess interface instead #203

comcon1 opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@comcon1
Copy link
Member

comcon1 commented Dec 3, 2024

          `subprocess` [should be used instead of](https://peps.python.org/pep-0324/) `os.system`

Originally posted by @pbuslaev in #201 (comment)

Now os.system is used all over the code and we want to avoid it. Here developers are wellcome to provide the example code-block of how we want all calls should be handled. Do we want to envelope these calls to some class or just agree on some style and put into developer's documentation?

@comcon1 comcon1 added the enhancement New feature or request label Jan 12, 2025
@comcon1 comcon1 added this to the Release for software paper milestone Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant