in reply to Re^2: Running Command Line Programs from a CGI Script
in thread Running Command Line Programs from a CGI Script
What kind of server are you running and how long is "long-running"?
I think the default timeout for Apache is fairly long, maybe 5 minutes?