[Python-ideas] Draft PEP: Standard daemon process library

Ben Finney ben+python at benfinney.id.au
Mon Jan 26 23:40:42 CET 2009

Guido van Rossum writes:

> On Sun, Jan 25, 2009 at 2:11 PM, Ben Finney wrote:
> > I am preparing a PEP, and corresponding reference implementation,
> > for a standard implementation of the steps needed to turn a
> > program into a well-behaved Unix daemon.
> I would like to note that there are many existing packages that
> provide support for daemonization […]

Good point, thanks (and thanks to others in this thread for drawing my
attention to some more that I hadn't yet found).

I will make note, in the next revision, of the existing equivalent
Python works of which I'm aware, and how their implementation differs
from the intent of this PEP. If anyone feels I'm missing any, I would
be happy to be informed.

> I have an inkling that this is one of those problems where the many
> solutions that are hard to compare, because they have different APIs
> or make different assumptions about the ultimate goals.

This suspicion could well be true.

On the other hand, there already seems to be a good amount of positive
support for the PEP, so I'd like to attempt to come to a sensible API
that covers most use cases.

Is ‘python-ideas’ the right forum to hash this out? Or is now the
right time to subject it to the inevitable by posting to

 \       “Pinky, are you pondering what I'm pondering?” “Well, I think |
  `\   so, Brain, but it's a miracle that this one grew back.” —_Pinky |
_o__)                                                   and The Brain_ |
Ben Finney

More information about the Python-ideas mailing list