Python program as daemon?

Diez B. Roggisch deets at nospam.web.de
Mon Jul 28 02:58:42 EDT 2008


Lawrence D'Oliveiro schrieb:
> In message
> <13866da4-01ed-4330-8297-8bdecce1393a at x35g2000hsb.googlegroups.com>,
> sturlamolden wrote:
> 
>> Basically it forks twice ...
> 
> What's the advantage of forking twice over forking once and calling setsid?

http://code.activestate.com/recipes/278731/

See the comments.

Diez



More information about the Python-list mailing list