
Patrick B. answered 05/24/19
Math and computer tutor/teacher
if the output file is empty , or has size of 0 bytes, just delete it.
Your bigger problem is if the input is blocking, that is, no further processing
UNTIL there is input. So if there is no input, then nothing gets sent into the
pipeline, and your program blocks, sits there, and hangs
THAT is a bigger problem