blib/lib/IPC/Run/Fused/POSIX.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
50 | 0 | 15450 | unless pipe $reader, $writer |
52 | 15150 | 300 | if (my $pid = fork) |
57 | 0 | 300 | unless open *STDOUT, '>>&=', $writer->fileno |
58 | 0 | 300 | unless open *STDERR, '>>&=', $writer->fileno |
60 | 100 | 200 | if (ref $params[0] and 'CODE' eq ref $params[0]) |
64 | 0 | 200 | if (ref $params[0] and 'SCALAR' eq ref $params[0]) |
66 | 0 | 0 | unless exec $command |
72 | 0 | 0 | unless exec {$program;} @params |