Let My Terminal Go

Ivan Voras ivoras at fer.hr
Tue Oct 11 13:42:36 CEST 2005

Mike Meyer wrote:

> The easy way to do all these things - from C, anyway - is with
> daemon(3). That isn't wrapped as part of the Python library. The
> easiest way to solve your problem may be write a wrapper for that
> call. If daemon exists on enough systems, submitting your wrapper as a
> patch to the os modulee would be appropriate.

I think the deamon() library call only exists on the BSDs. Anyway, there 
it is implemented with a fork() call and some additional code to close 
std descriptors, so there's no practical difference between calling 
deamon() and fork() by yourself...

More information about the Python-list mailing list