Help for this page

Select Code to Download


  1. or download this
        my $pid = fork;
        die "Fork failed: $!" unless defined $pid;
    ...
            exit;
        }
        print "processing second line...\n";
    
  2. or download this
        my $pid = fork;
        die "Fork failed: $!" unless defined $pid;
    ...
            die "exec failed: $!";
        }
        print "processing second line...\n";