3

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?

chiggsy
  • 8,153
  • 5
  • 33
  • 43

2 Answers2

4

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
  • 48,140
  • 25
  • 66
  • 69
-1
subprocess

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

pvoosten
  • 3,247
  • 27
  • 43