The documentation for subprocess.run at https://docs.python.org/3/library/subprocess.html#popen-constructor has a warning, pointing to using shutil.which() instead of subprocess.run for detecting if exe files exists on the path. shutil.which() is used in many places already.pull/13086/merge
parent
f01ae52bc2
commit
50704bced3
4 changed files with 12 additions and 14 deletions
Loading…
Reference in new issue