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;
}
In reply to Re: Re: Forking in a CGI program on Windows systems
by rodnic
in thread Forking in a CGI program on Windows systems
by relax99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |