Creating a daemon process in Python

okahashi at gmail.com okahashi at gmail.com
Thu Feb 22 08:47:56 EST 2007


Thanks all,

I understood there is no shortcut function like BSD daemon().  I'll do
it manually using examples from cookbook...



On 2月22日, 午前1:41, Benjamin Niemann <p... at odahoda.de> wrote:
> Hello,
>
> Sakagami Hiroki wrote:
> > What is the easiest way to create a daemon process in Python?  Google
> > says I should call fork() and other system calls manually, but is
> > there no os.daemon() and the like?
>
> You could try
> <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731>
>
> HTH
>
> --
> Benjamin Niemann
> Email: pink at odahoda dot de
> WWW:http://pink.odahoda.de/





More information about the Python-list mailing list