Help, I have setup a basic fork and everythig runs fine until the end when I get the error message.
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
Here's the code that I'm using.
#! d:\perl\bin\perl.exe
print "Content-type: text/html\n\n";
unless ($pid = fork) {
unless (fork) {
exec "techsurvey.pl";
die "no exec";
print "Hello";
exit 0;
}
exit 0;
}
waitpid($pid,0);
Any help to get rid of the error message would be greatly appreciated.
Tim
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
Here's the code that I'm using.
#! d:\perl\bin\perl.exe
print "Content-type: text/html\n\n";
unless ($pid = fork) {
unless (fork) {
exec "techsurvey.pl";
die "no exec";
print "Hello";
exit 0;
}
exit 0;
}
waitpid($pid,0);
Any help to get rid of the error message would be greatly appreciated.
Tim