Skip to content

ls: Improve Error Handling #2785

@kimono-koans

Description

@kimono-koans

I've been trying to improve the error handling of 'ls' and have made some progress in describing and printing the errors, but I'm stuck trying to understand how/when uucore decides to print an error message. All stderr messages print before stdout messages, which is undesirable for 'ls.'

What is the best way to get interleave stdout and stderr output like GNU ls?

I'm sure this is a rookie mistake, but @tertsdiepraam could you assist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions