[Python-Dev] new module proposal: daemonize
Keith Dart
kdart at kdart.com
Thu Dec 11 19:26:15 EST 2003
On Thu, 2003-12-11 at 16:16, Andrew Bennetts wrote:
> ...And Twisted has its own version of this stuff, too:
>
> http://cvs.twistedmatrix.com/cvs/twisted/scripts/twistd.py?rev=1.65&content-type=text/vnd.viewcvs-markup
>
> *And* there's even a cookbook recipe for it (with lots of debate about the
> details):
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012
>
> I'm sure there are plenty of other projects that have reinvented this, too.
> Having daemonization code in the standard library would be good.
Yes, I think I got some of the code in daemonize from the cookbook. I
had been using a little C program for that (e.g.: "daemonize python
pydaemon.py" ) but that required invoking from a shell, or remebering to
use the daemonize tool. With the daemonize module I could do it from
within python in a standard way. It may need some tweaking to make it
more portable.
--
-- -------------------------------------------------------------------------
Keith Dart
<mailto:kdart at kdart.com>
<http://www.kdart.com/>
----------------------------------------------------------------------------
Public key ID: B08B9D2C Public key: <http://www.kdart.com/~kdart/public.key>
============================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031211/04ce81d1/attachment.bin
More information about the Python-Dev
mailing list