One approach is to put that stuff in a server application ...have the CGI
send a command to the server and let the server do it at convenience while
the CGI responds to the web request 

On Tue, 12 Dec 2000 23:19:26 GMT leejor@my-deja.com wrote: 

> I have a variety of time consuming proceedures that slow
> the response time of my CGI scripts. These are
> proceedures that do not send any information back to the
> web browser. I want to spin off these proceedures to
> allow the original program to imediately continue.
> Examples of these proceedures include: saving to Log
> files, sending emails, or caching database queries.
>
> How do I accomplish this? I have played with fork() and
> os.system(), but have not achieved the results I need. In
> my searches of the documentation and online forums, I
> have only found methods that _wait_ for the spun off
> proceedures to return a result.
>
> I don't want to wait.
>
> Thanks!
>
> --
> Lee A. Joramo 		   ljoramo@nickads.com
> The Nickel Want Ads		   www.nickads.com
> Internet Manager		   970-242-5555
>
>
>
>
> Sent via Deja.com
> http://www.deja.com/
> --
> http://www.python.org/mailman/listinfo/python-list


God Himself himself the bass strings first,
when He tunes the soul



