Launching a subprocess without waiting around for the result?
r0g
aioe.org at technicalbloke.com
Fri Sep 19 10:37:57 EDT 2008
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?
>
> Thanks!
Try exec() with " &" at the end of your command line.
Roger.
More information about the Python-list
mailing list