Running Python Script as a Windows background process [duplicate]
Solution 1:
On Windows, you can run a Python script in the background using the pythonw.exe
executable, which will run your program with no visible process or way to interact with it. You also cannot terminate it without a system monitor. More information on pythonw.exe
can be found in the answers to the question: pythonw.exe or python.exe?