open COMMAND, 'my_console_app --option |' or die ("Can't open pipe to command: $!");