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