Help for this page

Select Code to Download


  1. or download this
    my $pid = system(1, $^X, -e => 'sleep 30 while 1')
        or die("system,1: $!\n");
    ...
    } else {
       print("kill 0: $!\n") ;
    }
    
  2. or download this
    Process 4912 still exists
    kill 0: Invalid argument