perl -e "$pid = open PIPE, '-|', 'echo one two';$/=' '; while (){ print; close PIPE}"