Robin Becker wrote:
.
> before the child ends its sleep. Of course it may be that it's just the
> handles
> that are being held.
After further tests with procexp it seems that the parent is allowed to die,
but
its output is held up (perhaps apache is waiting on an eof) until the child
die
After struggling with os.spawnxxx to get a detached process I tried using
Pyhton2.4's new subprocess module.
I struggled with that as well even when trying to use the creation flags for
DETACHED_PROCESS 0x8 and CREATE_NEW_PROCESS_GROUP = 0x200
I am using the following cgi script parent.cgi
#!c