title: Running a python script in background from a CGI
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>How can this be done?</p>