Skip to content

PR: Retrieve environment variables from system and user windows registry #23829

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Feb 27, 2025

Retrieve environment variables from HKEY_LOCAL_MACHINE in addition to HKEY_CURRENT_USER.

Concatenate PATH and PYTHONPATH environment variables rather than overwrite.

Windows user variables supersede system variables except for PATH and PYTHONPATH, which are concatenated.

@mrclary mrclary force-pushed the win-sys-env-vars branch from 6e3a847 to de9ec60 Compare March 7, 2025 02:51
@mrclary mrclary changed the title WIP: Retrieve environment variables from system and user windows registry PR: Retrieve environment variables from system and user windows registry Mar 20, 2025
@mrclary mrclary force-pushed the win-sys-env-vars branch 5 times, most recently from 5435528 to 8886d95 Compare April 9, 2025 20:45
… HKEY_CURRENT_USER.

Concatenate PATH and PYTHONPATH environment variables rather than overwrite.

Windows user variables supersede system variables except for PATH and PYTHONPATH, which are concatenated.
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 this pull request may close these issues.

1 participant