Skip to content

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

@Kyle-Verhoog

Description

@Kyle-Verhoog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions