in reply to Re: Forking in a CGI program on Windows systems
in thread Forking in a CGI program on Windows systems
if (my $pid = fork)
{
print redirect("buildlist.php");
}
elsif (defined $pid)
{
close(STDIN);
close(STDOUT);
close(STDERR);
#open STDIN, "</dev/null";
#open STDOUT, ">/dev/null";
sleep (10);
open (FILE, "> test.txt");
print FILE "TESTING CAPABILITY";
close FILE;
exit;
}
|
|---|