Debian Codegraph @

eg/abuse/broken_pipe_on_bad_executable_name

raw
1 #!/usr/bin/perl -w
2
3 ## Submitted by Dave Mitchell <[email protected]>
4
5 use IPC::Run qw(run timeout);
6
7 $IPC::Run::debug = 10;
8
9 warn "parent id=$$\n";
10 $res = run [ './nosuchfile', 0 ], \"foo", \$out, \$err;
11 warn "running after 'run',
12 pid=$$\n\$?=$?\nstderr=[[[[$err]]]]\nstdout=[[[[$out]]]]\n";