Re: Close stdout socket on CGI after fork with subprocess

2011-01-10 Thread Thibaud Roussillat
On Mon, Jan 10, 2011 at 9:26 AM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com > wrote: > On Mon, Jan 10, 2011 at 1:15 PM, Thibaud Roussillat > wrote: > > On Sat, Jan 8, 2011 at 3:19 AM, Kushal Kumaran > > > > wrote: > >> > >> On Fri, Jan 7,

Close stdout socket on CGI after fork with subprocess

2011-01-07 Thread Thibaud Roussillat
Hi, I work with Python 2.4 and CGI. I have a CGI which call a Python script in background process and return result before background task is finished. Actually, the browser displays response but it is waiting for end of background task because the socket is not closed. Internet told me that I