Try subprocess.call instead of Popen. It waits for the command to complete. import subprocess subprocess.call('a.exe') print("test").
確定! 回上一頁