<div dir="ltr">I'm trying to write a cgi wrapper for a long running command. The command takes about 10minutes to execute and when running it from the command line it continously outputs text to stdout. A simplistic cgi-bin wrapper that tries to execute the script and then writes that it is done fails with the following message:<br>
<br> Timeout waiting for output from CGI script ...<br><br>What I wonder if there is any easy way to have continously update the web page with stdout of the script. <br><br>One way, I guess would be to run the script in a separate thread and just do HTML reload on a static page which I would regenaret with the stdout generated so far.<br>
<br>Is there any other simple solution?<br><br>Regards,<br>Dov<br><br></div>