Jul-28-2022, 04:51 PM
i upgrade (Clean install) python from 3.9 to 3.10.5
and try this code
and try this code
import subprocess subprocess.call("title Test pause & Pause")then it failed:
Error: Traceback (most recent call last):
File "C:\Users\GIGABYTE\Desktop\test.py", line 2, in <module>
subprocess.call("title Test pause & Pause")
File "C:\Python\Python310\lib\subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Python\Python310\lib\subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python\Python310\lib\subprocess.py", line 1438, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
any clue to fix this?