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

Can not use load-from-file mode in pipe #34

Open
wmww opened this issue Feb 19, 2021 · 2 comments
Open

Can not use load-from-file mode in pipe #34

wmww opened this issue Feb 19, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@wmww
Copy link
Owner

wmww commented Feb 19, 2021

It stops at the end to wait for input, should auto-detect it's not being run interactively and not do that.

@wmww wmww added the bug Something isn't working label Feb 19, 2021
@nickdiego
Copy link

I am experiencing this even for simple cases such as:

WAYLAND_DEBUG=1 wayland-info 2>&1 | wayland-debug -p

I couldn't yet dig into the code, but ooc how does it detect "new wayland connection" ? Isn't done by simply trying to regex match the stdout lines?

Thanks for writing this useful tool.

@wmww
Copy link
Owner Author

wmww commented Aug 24, 2022

It assumes a single wayland connection, and uses regex to parse libwayland's debug output. What exact problem are you having with

WAYLAND_DEBUG=1 wayland-info 2>&1 | wayland-debug -p

?

I don't have wayland-info, but replacing that with weston-terminal it seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants