Skip to content

Conversation

rpetrusha
Copy link

Revised environment variable APIs for Unix-based systems

This PR:

  • Revises the EnvironmentVariableTargets documentation to note that only the process block is available on Unix-bases systems, and other targets results in NOPs.
  • Revised the Environment.GetEnvironmentVariable, Environment.GetEnvironmentVariables, and Environment.SetEnvironmentVariable APIs to better cover Unix-bases systems.
  • Includes extensively revised examples.

Related to dotnet/samples#959

Fixes #2399

@rpetrusha rpetrusha added the 🚧 Hold for related PR Indicates a PR can only be merged when other related PRs are merged (see comments for links) label Jun 6, 2019
@rpetrusha rpetrusha self-assigned this Jun 6, 2019
@rpetrusha
Copy link
Author

Closing and reopening to begin new build after dotnet/samples#959 has merged.

@rpetrusha rpetrusha closed this Jun 7, 2019
@rpetrusha rpetrusha reopened this Jun 7, 2019
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @rpetrusha

You can :shipit: when ready.

@rpetrusha rpetrusha merged commit c5def54 into dotnet:master Jun 7, 2019
@rpetrusha rpetrusha deleted the envvars branch June 7, 2019 20:47
@mairaw mairaw removed the 🚧 Hold for related PR Indicates a PR can only be merged when other related PRs are merged (see comments for links) label Jan 23, 2020
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.

EnvironmentVariableTarget is not usable for non-Windows platforms
3 participants