Jun-21-2024, 03:42 PM
(This post was last modified: Jun-21-2024, 03:42 PM by deanhystad.)
Read this:
https://docs.python.org/3/library/subprocess.html
In particular the part about subprocess.run()
I've seen lots of times users set shell=True because they are used to running the command they want to run() in a shell. That is not why you set shell=True. Shell should normally be False.
https://docs.python.org/3/library/subprocess.html
In particular the part about subprocess.run()
I've seen lots of times users set shell=True because they are used to running the command they want to run() in a shell. That is not why you set shell=True. Shell should normally be False.