line |
true |
false |
branch |
38
|
0 |
10 |
if ref $env ne "HASH" |
52
|
10 |
1142 |
if (exists $option->{'cwd'}) |
53
|
0 |
10 |
$Rex::Interface::Exec::Local::OSNAME eq 'MSWin32' ? : |
57
|
0 |
1152 |
if (exists $option->{'path'}) |
61
|
10 |
1142 |
if (exists $option->{'env'}) |
65
|
0 |
1152 |
if (exists $option->{'format_cmd'}) |
71
|
1152 |
0 |
unless ($^O =~ /^MSWin/u) |
72
|
921 |
231 |
if ($path) |
76
|
921 |
231 |
if ($path) |
80
|
9 |
1143 |
if ($self->{'env'}) |
84
|
0 |
1152 |
if ("Rex::Config"->get_source_global_profile) |
95
|
577 |
575 |
if $out |
96
|
2 |
1150 |
if ($err) |
104
|
922 |
230 |
if (wantarray) |
112
|
0 |
555 |
$^O =~ /^MSWin/iu ? : |
123
|
2 |
1150 |
if (not $^O =~ /^MSWin/u and 'Rex::Config'->get_no_tty) { } |
128
|
0 |
2 |
unless waitpid $pid, 0 |
131
|
0 |
1150 |
unless $pid = open(my $fh, "-|", "$cmd 2>&1") |
136
|
0 |
5994 |
if ($self->execute_line_based_operation($_, $option)) |
138
|
0 |
1150 |
unless waitpid $pid, 0 |