[Tutor] Daemonizing Scripts
mlangford.cs03 at gtalumni.org
Mon Jan 14 07:52:01 CET 2008
I've had this work before: http://support.microsoft.com/kb/251192
Cygwin also has a service maker, but I'm unaware of the details of using it.
On 1/14/08, Lawrence Barrott <law.bar at hotmail.co.uk> wrote:
> >>How can a make a python script run in "deamon mode"? (on a linux box)
> >>That is, I want to run the program via "python myfile.py" and have it drop
> me back to the command line. The program should continue running until I
> kill it via it's PID, the machine shuts >>down, or the program itself
> decides to shutdown. It should _not_ die when I simply log-out, etc.
> >>Is there a standard library module to help with this?
> >>-- Thank you
> I have read through the rest of the replies for this problem and was
> wondering if something similar could be done in Windows (XP).
> Unfortunately it seems the Linux and Windows os and sys modules differ too
> much so the suggested approach does not work.
> Any help would be greatly appreciated
> Messenger on the move. Text MSN to 63463 now!
> Tutor maillist - Tutor at python.org
More information about the Tutor