my $child_pid = open( my $out, "-|", "some command" ); #### waitpid($child_pid, 0);