in reply to Re: calling one cgi script from another
in thread calling one cgi script from another
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: calling one cgi script from another
by derby (Abbot) on Feb 21, 2007 at 17:57 UTC | |
by Anonymous Monk on Feb 21, 2007 at 18:18 UTC | |
by derby (Abbot) on Feb 21, 2007 at 18:23 UTC |