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 discoect 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 ruing. Is there any extra command that I am missing here to keep the script ruing on the background?
برچسب:
نویسنده: استخدام کار