Running python as a deamon (rfork)
Fredrik Lundh
fredrik at pythonware.com
Fri Oct 15 08:14:11 EDT 1999
Radovan Garabik <garabik at melkor.dnp.fmph.uniba.sk.invalid> wrote:
> any chance of doing this portably? (i.e. I'd like to run daemon under unix
> and windows)
to run something in the background, you
can do:
os.spawnv(os.P_NOWAIT, program, (program,) + args)
making a real NT service is a bit more work. check
the newsgroup archives for details (I'm pretty sure
you need the win32 extensions for this... if you al-
ready have them, check the demo library).
</F>
coming next week:
http://www.pythonware.com/people/fredrik/librarybook.htm
More information about the Python-list
mailing list