[Tutor] cgi script: how to continue a process in the background and return from cgi script

Hugo González Monteverde hugonz-lists at h-lab.net
Fri Feb 10 21:03:05 CET 2006


> So, could some give me a pointer to possible solutions ? Do I have to 
> make the last part of my program a seperate program and go through a 
> system call ?

Hi,

I have had this problem before. The timeout problem with Apache remains 
because STDOUT of both child and the parent are open. Apache keeps 
thinking the CGI is still sending data until the filehandle is closed.

I have solved it in the pas using this recipe, which is similar to the 
one you used before:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731

Hope that helps,

Hugo


More information about the Tutor mailing list