Skip to content

Syncing stdout with stderr #2

@gvanem

Description

@gvanem

Ok, I'll create the 1st issue 🎉
Running a command like in a 4NT.EXE shell:

examine --tool=depends --list examine.exe |& most

Or using the horrid CMD.EXE synatax:

examine --tool=depends --list examine.exe 2>&1 | most

causes the output from stderr to be put last. I'd rather have that intermingled with the normal stdout output to better see where the problem is.

There also seems to be another fflush() (or newline?) problem. The above command could output:

    IPHLPAPI.DLL (dl, f)
    api-ms-win-security-lsalookup-l1-1-1.dll (dl, f)         api-ms-win-service-management-l1-1-0.dll (d, f)

I.e. both on the same line. This is with MSVC-2015 in debug-mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions