I have a system command which needs to be run browser. I am using Perl CGI to build the web interface. However, I am running
system("<some command which takes long to complete> &");
When using it via web, it works but, the web interface seems to waiting for the command to complete. Is there a way to shoot off a long running command w/out having the browser waiting/apache to timeout on it.
Just curious, would exec work, since it does not bother to return the status of it. Like, what's in $?. Will try it out once I get home.