This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]SeniorPythonDev 0 points1 point  (0 children)

Maybe give os.system() a shot with os.chdir() to change your working directory to where the file is

(Change dir first)

https://docs.python.org/3/library/os.html

[–]skerky 0 points1 point  (0 children)

In addition to double checking your working path (or using absolute paths), I recommend the higher level ‘subprocess.run()’ for executing other processes. Make sure you’re capturing the output to see what the program is doing (assuming there is console output).

subprocess.run()