blib/lib/Log/Saftpresse/Input/Command/Child.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 26 | 0.0 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 0 | unless pipe $reader, $writer |
29 | 0 | 0 | if ($self->pid) |
39 | 0 | 0 | unless (eval { do { $pid = fork; 1 } }) |
40 | 0 | 0 | $@ ne '' ? : |
43 | 0 | 0 | unless defined $pid |
44 | 0 | 0 | unless ($pid) |
51 | 0 | 0 | unless open STDIN, '<', '/dev/null' |
53 | 0 | 0 | unless open STDOUT, '>&', $child_out |
55 | 0 | 0 | unless open STDERR, '>&', $child_err |
59 | 0 | 0 | unless exec $cmd |
83 | 0 | 0 | unless (defined $self->pid) |
87 | 0 | 0 | if ($self->_is_pid_alive) |
92 | 0 | 0 | if ($self->pid) |