Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status of 1 when not all of stdout is captured in pipe #160

Open
Kyle-Verhoog opened this issue Nov 4, 2021 · 0 comments
Open

Exit status of 1 when not all of stdout is captured in pipe #160

Kyle-Verhoog opened this issue Nov 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Kyle-Verhoog
Copy link
Member

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

@Kyle-Verhoog Kyle-Verhoog added the bug Something isn't working label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant