Can my python script spawn a process that will run indefinitely?
I\'m not too familiar with python, nor with spawning deamons, so I cam up with this:
For that purpose you could daemonize your python process or as you are using windows environment you would like to run this as a windows service.
You know i like to hate posting only web-links:
But for more information according to your requirement:
A simple way to implement Windows Service. read all comments it will resolve any doubt
If you really want to learn more
First read this
what is daemon process or creating-a-daemon-the-python-way
update: Subprocess is not the right way to achieve this kind of thing