blib/lib/Proc/Background/Unix.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 23 | 47.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
170 | 124 | 23 | 57 | $blocking and $wait_seconds |
181 | 117 | 0 | 0 | $result == -1 and $! == 10 |
209 | 26 | 0 | 0 | @_ && ref $_[0] eq 'ARRAY' |
212 | 0 | 0 | 26 | @kill_sequence and $self->alive |
line | l | !l | condition |
---|---|---|---|
111 | 2 | 0 | chdir $options->{'cwd'} or die "chdir($options->{'cwd'}): $!\n" |
113 | 3 | 0 | open STDIN, "<&" . fileno($new_stdin) or die "Can't redirect STDIN: $!\n" |
115 | 4 | 0 | open STDOUT, ">&" . fileno($new_stdout) or die "Can't redirect STDOUT: $!\n" |
117 | 3 | 0 | open STDERR, ">&" . fileno($new_stderr) or die "Can't redirect STDERR: $!\n" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
76 | 0 | 0 | 104 | fileno $pipe_r <= $^F or fileno $pipe_w <= $^F |