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 thibaud.roussil...@gmail.com wrote: On Sat, Jan 8, 2011 at 3:19 AM, Kushal Kumaran kushal.kumaran+pyt...@gmail.com wrote: On Fri, Jan 7, 2011 at 8:08 PM, Thibaud Roussillat thibaud.roussil...@gmail.com wrote: Hi, I work with Python 2.4

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 kushal.kumaran%2bpyt...@gmail.com wrote: On Mon, Jan 10, 2011 at 1:15 PM, Thibaud Roussillat thibaud.roussil...@gmail.com wrote: On Sat, Jan 8, 2011 at 3:19 AM, Kushal Kumaran kushal.kumaran+pyt...@gmail.com

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

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 thibaud.roussil...@gmail.com 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