However I need the child to run in the background, for the browser to be freed up on printing the parent. Can anyone point me in the right direction, please?if ($pid = fork) { print "I am parent\n"; } elsif (defined $pid) { print "I am child\n"; sleep 5; print "Child is done\n"; } else { die "Major error: $!"; } print "PID: $$\n";
In reply to Re^2: calling one cgi script from another
by Anonymous Monk
in thread calling one cgi script from another
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |