[EMAIL PROTECTED] wrote: > I have a daemon type script (daemon.py -- we'll say) that I would like > to have run continuously. I'd like to be able to do something like > this: > > daemon.py start > > ... and then to have it stop I'd like to do this: > > daemon.py stop > > I am having a hard time googling for a clue as to how to accomplish > this. If anyone can point me in the right direction, I'd really > appreciate it.
Write a Windows service (natively, see http://www.python.org/windows/win32 or using py2exe, see http://starship.python.net/crew/theller/py2exe/). Then use: net start daemonsvc net stop daemonsvc Robert Brewer MIS Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list