I wouldn't have thought of that, so many thanks - very much appreciated.if(!open($handles[$i], '|-')) { # child process foreach $handle (@handles) { defined($handle) && close($handle); } child(); exit 0; }
In reply to Re^2: Forked pipe deadlock
by Anonymous Monk
in thread Forked pipe deadlock
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |