line |
true |
false |
branch |
48
|
5 |
0 |
ref $param{'cmd'} ? : |
49
|
0 |
5 |
defined $param{'eol'} ? : |
78
|
13 |
31 |
if (@_) |
108
|
0 |
0 |
if ($self->{'pid'} and waitpid($self->{'pid'}, 1) == 0) |
120
|
0 |
43 |
if ($ENV{'IPC_SIMPLE_DEBUG'}) |
137
|
0 |
5 |
if ($self->is_running) |
141
|
0 |
5 |
if ($self->is_stopping) |
149
|
0 |
5 |
unless my $pid = open3(my $in, my $out, my $err = &gensym(), @$cmd) |
205
|
2 |
0 |
if ($fatal) |
224
|
3 |
0 |
if ($self->{'messages'}) |
254
|
4 |
2 |
if ($self->{'recv_cb'}) { } |
266
|
5 |
0 |
if ($self->{'pid'}) |
279
|
5 |
2 |
if ($self->is_running) |
287
|
3 |
2 |
if (defined $timeout) |
297
|
2 |
3 |
if ($self->{'term_cb'}) |
306
|
0 |
3 |
if $self->is_ready |
317
|
3 |
0 |
if (waitpid($self->{'pid'}, 1) != 0) |
321
|
3 |
0 |
unless ($self->is_ready) |