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

yabai hangs indefinitely if no domain is given #197

Closed
dominiklohmann opened this issue Aug 6, 2019 · 0 comments
Closed

yabai hangs indefinitely if no domain is given #197

dominiklohmann opened this issue Aug 6, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@dominiklohmann
Copy link
Collaborator

dominiklohmann commented Aug 6, 2019

Bug report

This is no issue in practice, but I just found this by accident.

If no domain is given, yabai hangs indefinitely. It properly exits with an error message if an empty domain is given.

# hangs indefinitely
yabai -m

# quits with error: unknown domain ''
yabai -m ''

# quits with error: unknown command '' for domain 'config'
yabai -m config

# quits with error: unknown command '' for domain 'config'
yabai -m config ''

Edit: this comes down to client_send_message(argc, argv) in yabai.c:

@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released bug Something isn't working labels Aug 17, 2019
@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Sep 3, 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