Help for this page
my $pid = open my $out, 'theExe infile | tee outfile' or die $!; while( <$out> ) { processOutputLine( $_ ); }