15
4
I have a Python script which I want to run as a background process on Windows.
I can do that on Linux with:
python script.py &
and then disconnect the process from the terminal with:
disown
On Windows, all I have so far is this:
start /b python script.py
However, if I close the CMD window, the script stops running. Is there any extra command that I am missing here to keep the script running on the background?
Where does
hide_current_console
comes from? Doesn't work on a W10 PC. – Btc Sources – 2019-10-21T09:46:41.7901I tested it again, it still works. Where it comes from: Please read the post again, I showed the one line of source code this file has and linked a compiled hide_current_console.exe file to download... – CherryDT – 2019-10-22T10:13:46.900