Launching a subprocess without waiting around for the result?

r0g at
Fri Sep 19 16:37:57 CEST 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.


More information about the Python-list mailing list