Phenomenon: using os.system() to call external exe program in Python process, which results in the main process blocking
resolvent:
subprocess.Popen("***.exe")
Use the subprocess. Popen method to open a separate process for the external exe program
div>
Read More:
- The problem of failed to create process occurs in pyinstaller package program of Python
- Python packaged *. Exe is running os.popen (cmd)/ subprocess.Popen *. Exe crashes with invalid [winerror 6] handle
- Solution of no response of progress bar in MFC program
- Vscode running C program error luanch:program does not exsist
- About the problem of calling tools library by running Python program under Mac OS X, modulenotfoundererror: no module named ‘tools‘
- [OpenGL] cannot start this program because the computer is missing glut32.dll. Try to re install the program to fix this problem. …
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.
- Python program exit: OS_ Exit() and sys.exit ()
- Error in pyinstall package Python program: jinja2.exceptions.templatenotfound: Chart_ Solution to component.html
- How to Debug ‘The System cannot Execute the specified program’ message.
- Running program encountered Error:Access violation at 0x**(tried to write to 0x**) program terminated
- How to run Python program directly with atom
- On the problem that VTK + QT process can’t end after closing the program
- nt service 1072 No need to restart, repeat the method of installing the service program or service driver
- The. Exe crashed program ends abnormally when the QT project is copied to the new environment
- runtime error program:c :\windows\ explorer.exe (appears after installing the win8 security update) why?
- Several choices of using Python to write graphical interface program
- Cannot run program “git.exe”: CreateProcess error=2 the correct solution
- C language — to solve the problem of program flashback when programming (in VS)
- Using openfeign to remotely call the startup program to report an error