You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was automating something and noticed that yad --version does not work without a graphical session:
(yad:3382795): Gtk-WARNING **: 02:51:51.781: cannot open display:
It should not require a graphical session to print its version to stdout.
This is trivial to repro using env -i $(type -p yad) --version as no graphical session stuff functions without env vars.
Running the program headless in this way is also required in packaging as a smoke tests to verify that the resulting binary can be executed and is the expected version for instance.
The text was updated successfully, but these errors were encountered:
Hi, I was automating something and noticed that
yad --version
does not work without a graphical session:It should not require a graphical session to print its version to stdout.
This is trivial to repro using
env -i $(type -p yad) --version
as no graphical session stuff functions without env vars.Running the program headless in this way is also required in packaging as a smoke tests to verify that the resulting binary can be executed and is the expected version for instance.
The text was updated successfully, but these errors were encountered: