Skip to content

When using grouping stderr and stdout output is no longer in order #779

Closed
@ssbarnea

Description

It took me some time to discover why the output of some commands was very confusing as the order of the console lines were not in order.

That is happening because when run using grouping both stdout and stderr are captures separated and printed separated, one after another. As you can imagine that can cause very confusing console output for script. Easy to see especially when running bash scripts with set -x.

It would be preferable if the subprocess would use line-buffering and print lines in order they were generated, making read of output more human friendly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions