Hello,
I noticed that tee is missing stdbuf in the output. Then, the pipeline stucks with no error after some time. Sometimes shortly after beginning, sometimes later.
I'm attaching 2 pipeline.sh scripts:
FIXED.sh.txt -- this one is fixed. I edited it to insert stdbufs. It never stucks.
This is a wrong, current piplener output. Stucks after some time.
WRONG.pipeline.sh.txt
Also, there there has to be stdbuf -o0 if the commands input and output is binary (it means 0 bytes buffer), and stdbuf -oL if it is text (1 full line buffer).
Maybe it would work with -o0 anytime, but I'm not sure.
Hello,
I noticed that tee is missing stdbuf in the output. Then, the pipeline stucks with no error after some time. Sometimes shortly after beginning, sometimes later.
I'm attaching 2 pipeline.sh scripts:
FIXED.sh.txt -- this one is fixed. I edited it to insert stdbufs. It never stucks.
This is a wrong, current piplener output. Stucks after some time.
WRONG.pipeline.sh.txt
Also, there there has to be
stdbuf -o0if the commands input and output is binary (it means 0 bytes buffer), andstdbuf -oLif it is text (1 full line buffer).Maybe it would work with
-o0anytime, but I'm not sure.