tags:

views:

62

answers:

2

I have a simple python program that I'd like to daemonize.

Since the point of my doing this is not to demonstrate mastery over the spawn, fork, disconnect , etc, I'd like to find a module that would make it quick and simple for me. I've been looking in the std lib, but can not seem to find anything.

Is there?

+3  A: 

Here's a library for making well behaved unix daemons: http://pypi.python.org/pypi/python-daemon/

And another one that appears more lightweight: http://code.activestate.com/recipes/278731/

Christian Oudard
A: 
subprocess

is an (almost) platform-independent module to work with processes.

lbp