Help for this page

Select Code to Download


  1. or download this
    perl -e "$pid = open PIPE, '-|', 'echo one two';$/=' '; while (<PIPE>)
    +{ print; kill 2, $pid}"
    
  2. or download this
    perl -e "$pid = open PIPE, '-|', 'echo one two';$/=' '; while (<PIPE>)
    +{ print; close PIPE}"