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

Guido van Rossum guido at python.org
Mon Jan 26 23:50:14 CET 2009


On Mon, Jan 26, 2009 at 2:40 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> 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
> 'comp.lang.python'?

Depends on how much bikeshedding you want. I expect that you'll get
enough of that without involving c.k.py...

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-ideas mailing list