SocketPath::defaultSocketPath()
should better format and respect USER
even if TMPDIR
unset
#10
Labels
Kind: Enhancement 🔮
New feature or request
Platform: Unix 🐧
Related to Unix/Linux-specifics
Target: Core 💥
Core architectural support library
Currently, if
XDG_RUNTIME_DIR
is not set andTMPDIR
also is not set, the code immediately falls back to/tmp/mnmx
even though we could at least add the user's name into the file path anyway.Moreover, it might be worth first to try to create also a directory in the temporary location (outside
XDG_RUNTIME_DIR
, anyway), similarly to what tmux and abduco do.The text was updated successfully, but these errors were encountered: