Jul-28-2022, 06:44 PM
(Jul-28-2022, 05:26 PM)deanhystad Wrote: You should be using subprocess.run() instead of subprocess.call(). Subprocess.call() is the old Python 2.7 way of doing things.thank you, the call and run give same result as run, I will give you point too
Upgrading is not the source of your problem. I get the same error running with Python 3.9.
import subprocess subprocess.run(['cmd', '/k', 'title Test pause & Pause & exit'])