Also, get rid of $sub_failed
if( my $pid = open ... ){ } else { die Fudge(); }
Or use https://metacpan.org/pod/Capture::Tiny#capture_merged
In reply to Re: Perl open pipe exiting early
by Anonymous Monk
in thread Perl open pipe exiting early
by albob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |