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 must close the stdout file descriptor (sys.stdout.close()) to close the socket but it doesn't work. The background task is launched via subprocess.Popen and is attached to the root process on ps command. Any idea ? Thanks Thibaud
-- http://mail.python.org/mailman/listinfo/python-list