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
In my environment, XDG_CONFIG_HOME is equal to ~/Library/Application Support.
The location of the yabairc file is ~/Library/Application Support/yabai/yabairc.
Setting the scene
When yabairc is executable, then when starting the service with the command yabai --start-service, my configuration is not loaded and the error logs show me:
I think the whitespace is supposed to be escaped within the XDG_CONFIG_HOME value. So ~/Library/Application Support should be ~/Library/Application\ Support.
The only way I can think of for yabai to fix it would be to enclose the full path (or partial path tarversal) within ' before forwarding it to env -c, but I don't think that is the correct thing to do. I suppose doing a pre-pass to escape whitespaces would be more acceptable.
If I am wrong and you are aware of some specification for this behaviour feel free to reference it and/or any standardized solution that other software implementing support for XDG_CONFIG_HOME uses.
Context
XDG_CONFIG_HOME
is equal to~/Library/Application Support
.yabairc
file is~/Library/Application Support/yabai/yabairc
.Setting the scene
When
yabairc
is executable, then when starting the service with the commandyabai --start-service
, my configuration is not loaded and the error logs show me:But if
yabairc
is not executable then my configuration is correctly loaded.I think the error is here.
But I can't explain why
env -c
operates like this.The text was updated successfully, but these errors were encountered: