my $cpid = open (my $fh, "-|") || exec (@_); #### $| = 1; # line buffer #### close ($fh);