I have a situation where a CGI script has to start an independent perl script and exit without capturing the output or waiting for the exit code. It doesnt make any practicle sense to me as this perl script takes good 6 hours to run and my CGI script obviously shouldnt keep the user waiting.
exec command doesnt seem to work, nor system command combined with ampersand(&) in command. I tried exec("command"); and also system("command &"); Niether seemed to work, for the reason which I assume is, since it is a CGI script and webserver waits until this script exits and then displays the results to the browser. What was thought to be a simple thing is becoming a huge problem. Thanks in advance