I have a Python script that needs to execute an external program, but for some reason fails.
If I have the following script:
import os; os.system(\"C
For python >= 3.5 subprocess.run should be used in place of subprocess.call
subprocess.run
subprocess.call
https://docs.python.org/3/library/subprocess.html#older-high-level-api
import subprocess subprocess.run(['notepad.exe', 'test.txt'])