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

Support XDG_RUNTIME_DIR #36

Closed
whonore opened this issue Aug 24, 2021 · 2 comments · Fixed by #37
Closed

Support XDG_RUNTIME_DIR #36

whonore opened this issue Aug 24, 2021 · 2 comments · Fixed by #37

Comments

@whonore
Copy link
Contributor

whonore commented Aug 24, 2021

Copied from ActiveState/appdirs#156:

The XDG specification includes $XDG_RUNTIME_DIR for user-specific runtime files that should be cleaned up on reboot. It would be nice if platformdirs supported this with a user_runtime_dir function that checks this environment variable and falls back to a default like tempfile.gettempdir.

@Julian
Copy link
Contributor

Julian commented Aug 24, 2021

Sounds good to me. Would you be willing to send a PR?

@whonore
Copy link
Contributor Author

whonore commented Aug 24, 2021

Sure, I can put something together in the next day or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants