my $pid = fork; if ($pid) { # Parent. } elsif (defined $pid) { # Child. # Don't forget to let it exit. } else { # Error. }
In reply to Re: creating a fork process
by Juerd
in thread creating a fork process
by richp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |