in reply to running another script without waiting
Please post a bit more information in the future including a snip of your code so the monks can have a look.... my $pid = fork() or die "Can not fork!"; if ($pid == 0) { # in child http->get("machine1:port1/process.cgi?arg1=val1&..."); exit(0); } # in parent, kick off another process $pid = fork() or die "Can not fork!"; if ($pid == 0) { # in child http->get("machine2:port2/process.cgi?arg2=val2&..."); exit(0); } ... and so on...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: running another script without waiting
by crammed_in (Initiate) on Oct 08, 2003 at 06:33 UTC | |
by Roger (Parson) on Oct 08, 2003 at 07:49 UTC |