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, 2011 at 8:08 PM, Thibaud Roussillat > >> wrote: > >

Re: Close stdout socket on CGI after fork with subprocess

2011-01-10 Thread Kushal Kumaran
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, 2011 at 8:08 PM, Thibaud Roussillat >> wrote: >> > Hi, >> > >> > I work with Python 2.4 and CGI. >> > >> > I have a CGI which call a Python script in backgrou

Re: Close stdout socket on CGI after fork with subprocess

2011-01-07 Thread Kushal Kumaran
On Fri, Jan 7, 2011 at 8:08 PM, Thibaud Roussillat wrote: > 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 > b