Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return stdout and stderr separately on success #8

Open
SaphiraKai opened this issue Sep 18, 2024 · 0 comments
Open

Return stdout and stderr separately on success #8

SaphiraKai opened this issue Sep 18, 2024 · 0 comments

Comments

@SaphiraKai
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant