use IO::Handle; : open3( $input, $output, '', $command ); $output->autoflush()