mirror of
https://codeberg.org/h3xx/simplify_static_dir
synced 2024-08-14 23:57:24 +00:00
Remove postfix if/for (PBP)
This commit is contained in:
parent
15c466e581
commit
98c2c04263
4 changed files with 43 additions and 28 deletions
|
@ -116,7 +116,9 @@ sub run_script_capture {
|
|||
print STDERR "+ @cmd\n";
|
||||
my $pid = open3 $in, '>&CATCHOUT', '>&CATCHERR', @cmd;
|
||||
waitpid $pid, 0;
|
||||
seek $_, 0, 0 for \*CATCHOUT, \*CATCHERR;
|
||||
foreach my $handle (\*CATCHOUT, \*CATCHERR) {
|
||||
seek $handle, 0, 0;
|
||||
}
|
||||
|
||||
return (
|
||||
$?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue