Running python as a deamon (rfork)

Fredrik Lundh fredrik at pythonware.com
Mon Oct 11 14:33:24 EDT 1999


<henk_p at my-deja.com> wrote:
> I already hacked python's main.c file to recognize a new -b startup
> parameter. In this code I do a POSIX rfork(NOWAIT) when the -b parameter
> is processed.

hmm.  a POSIX function that *none* of the Unix
boxes I have to access to seems to have.  and it's
not part of the Single Unix Specification either...

are you sure it's POSIX?

(all on-line references I could found said that
rfork is a *major* security hole in BSD unix...)

</F>

coming soon:
http://www.pythonware.com/people/fredrik/librarybook.htm






More information about the Python-list mailing list