Skip to content

Return stdout and stderr separately on success #8

Description

@SaphiraKai

Hi! I'm currently working on a little system utility that involves piping input into a dmenu clone (wofi) and reading the output from it to determine which choice the user made, but since shellout combines the stdout and stderr streams, I get all the GTK warnings etc. in the output as well, which throws off my parser.

For now I'll probably just set LetBeStderr to work around this, but that has some issues as well since it means it won't capture any error messages when the command fails, and that I have no control over the error messages printed to stderr in the terminal.

It would be super useful if shellout provided a way to extract stdout and stderr separately!

Activity

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

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