Help for this page

Select Code to Download


  1. or download this
    $ strace -p1625
    Process 1625 attached - interrupt to quit
    select(0, NULL, NULL, NULL, {19943, 944000}
    
  2. or download this
    use IPC::Run qw(run timeout timer);
    
    my $t = timeout(20000);
    my $out;
    run(debug => 1, ["/bin/sleep", 5], '>', \$out, $t);
    
  3. or download this
    $SIG{CHLD} = sub {};
    run(["/bin/sleep", 5], timeout(20000));