Running a python script in background from a CGI
Posted
by Cagey
on Stack Overflow
See other posts from Stack Overflow
or by Cagey
Published on 2010-03-17T11:59:28Z
Indexed on
2010/03/17
12:01 UTC
Read the original article
Hit count: 260
I have a python CGI which runs some script in the background and shows the stdout in the html page. I run the script when the user clicks some button in the page.
My problem is when the script starts running the page becomes busy and the user can't use the other client side features in the page.
What I want is: The script should run in background when the user clicks the button and should notify the CGI when run is complete. Then the CGI show should the stdout of the script run.
How can this be done?
© Stack Overflow or respective owner