Exit status of 1 when not all of stdout is captured in pipe
Opened this issue · 0 comments
Kyle-Verhoog commented
See: DataDog/dd-trace-py#2973 (comment)
riot returns as exit status of 1 when not all of the output is received a downstream piped process
riot run -s ... | head -n 1
echo "${PIPESTATUS[0]} ${PIPESTATUS[1]}"
1 0
riot run -s ... | head -n 10000
echo "${PIPESTATUS[0]} ${PIPESTATUS[1]}"
0 0
suuuuper weird