How to Start a (thread?) and Leave

gregpinero at gmail.com gregpinero at gmail.com
Fri Mar 9 15:22:02 EST 2007


Here's my situation, would you folks be so kind as to reccomend an
approach?

I have a small Python CGI script running as an intranet app.  One of
the things the script needs to do is allow users to save invoices.
This is a process that takes about 60 seconds once the user submits
the order from the web app.

Ideally I'd like the CGI script to kick off a process to save the
invoice but not wait until it's finished to render the page.  What's
the best way to do this, a thread, call a separate program from
os.system, something else?

Thanks in advance for the help.

-Greg




More information about the Python-list mailing list