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