Help for this page

Select Code to Download


  1. or download this
    kill TERM => $pid;
    
  2. or download this
    my $pid = open(my $fr_chld, '-|',
        $^X, -le => '$|=1; { print ++$i; sleep 1; redo; }'
    ...
    } else {
        print("Child exited successfully\n");
    }
    
  3. or download this
    1
    2
    3
    4
    Child died from SIGPIPE