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

user_runtime_dir #156

Open
whonore opened this issue Sep 29, 2020 · 1 comment
Open

user_runtime_dir #156

whonore opened this issue Sep 29, 2020 · 1 comment

Comments

@whonore
Copy link

whonore commented Sep 29, 2020

The XDG specification includes $XDG_RUNTIME_DIR for user-specific runtime files that should be cleaned up on reboot. It would be nice if appdirs supported this with a user_runtime_dir function that checks this environment variable and falls back to /tmp if it is not set. I'm not sure what reasonable equivalents are for macOS or Windows.

@YariKartoshe4ka
Copy link

How about standard library?

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

No branches or pull requests

2 participants