Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 9b3669c92aee61c4ccec2c1723e9950d > files > 9

perl-IPC-Run-0.89-2.fc15.noarch.rpm

#!/usr/bin/perl -w

## Submitted by Dave Mitchell <davem@fdgroup.co.uk>

use IPC::Run qw(run timeout);

$IPC::Run::debug = 10 ;

warn "parent id=$$\n";
$res = run [ './nosuchfile', 0 ], \"foo", \$out, \$err ;
warn "running after 'run',
        pid=$$\n\$?=$?\nstderr=[[[[$err]]]]\nstdout=[[[[$out]]]]\n";