in reply to open* and buffered program output
use IO::Handle; : open3( $input, $output, '', $command ); $output->autoflush() [download]