Skip to content
New issue

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

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

Already on GitHub? # to your account

Print query errors to stderr instead of stdout #131

Closed
dominiklohmann opened this issue Jul 14, 2019 · 1 comment
Closed

Print query errors to stderr instead of stdout #131

dominiklohmann opened this issue Jul 14, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@dominiklohmann
Copy link
Collaborator

Bug report

I was trying to implement #104 properly with the new attributes and came across an issue.

If yabai -m query --spaces --display $sel fails, it prints "could not locate the selected display." to stdout, which messes with my script.

This does affect quite a few error messages all throughout yabai. They all need to print to stderr instead.

koekeishiya added a commit that referenced this issue Jul 14, 2019
@koekeishiya
Copy link
Owner

yabai itself always outputs warnings / errors to stderr. Messages returned to the client was erroneously using stdout for error reporting. Fixed on master.

@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released bug Something isn't working labels Jul 14, 2019
@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Jul 14, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants