erikcw wrote:
Hi,
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
What is the correct way to launch subprocess without waiting for the
result to return?
erikcw wrote:
Hi,
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
What is the correct way to launch subprocess without waiting for the
result to return?
Ah, no, that's a different thing. If the parent exits, the child will
also be killed I believe.
Not if it's stuck in some endless loop...
If you want to spawn a process and have it live on independent of the
parent, you want to make the child process a daemon, detatching
itself from the
On Fri, Sep 19, 2008 at 10:48 PM, Almar Klein [EMAIL PROTECTED] wrote:
Ah, no, that's a different thing. If the parent exits, the child will
also be killed I believe.
Not if it's stuck in some endless loop...
If you want to spawn a process and have it live on independent of the
parent, you
Almar Klein wrote:
Ah, no, that's a different thing. If the parent exits, the child will
also be killed I believe.
Not if it's stuck in some endless loop...
If you want to spawn a process and have it live on independent of the
parent, you want to make the child process a
On Sep 18, 5:33 pm, erikcw [EMAIL PROTECTED] wrote:
Hi,
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
What is the correct way to launch subprocess without
Hi,
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
What is the correct way to launch subprocess without waiting for the
result to return?
Thanks!
--
erikcw [EMAIL PROTECTED] writes:
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
For how do I deal with subprocesses from Python, the (new in Python
2.4)
On Sep 18, 3:33 pm, Ben Finney [EMAIL PROTECTED]
wrote:
erikcw [EMAIL PROTECTED] writes:
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
For how do I deal
erikcw [EMAIL PROTECTED] writes:
On Sep 18, 3:33 pm, Ben Finney [EMAIL PROTECTED]
wrote:
erikcw [EMAIL PROTECTED] writes:
What is the correct way to launch subprocess without waiting for
the result to return?
Creating an instance of 'subprocess.Popen' will launch the process
and
erikcw wrote:
On Sep 18, 3:33 pm, Ben Finney [EMAIL PROTECTED]
wrote:
erikcw [EMAIL PROTECTED] writes:
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
For
11 matches
Mail list logo