{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/13931","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/13931/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/13931/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/13931/events","html_url":"https://github.com/dotnet/corefx/issues/13931","id":191386239,"number":13931,"title":"Move Get/SetEnvironmentVariable to CoreLib","user":{"login":"JeremyKuhne","id":8184940,"avatar_url":"https://avatars.githubusercontent.com/u/8184940?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyKuhne","html_url":"https://github.com/JeremyKuhne","followers_url":"https://api.github.com/users/JeremyKuhne/followers","following_url":"https://api.github.com/users/JeremyKuhne/following{/other_user}","gists_url":"https://api.github.com/users/JeremyKuhne/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyKuhne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyKuhne/subscriptions","organizations_url":"https://api.github.com/users/JeremyKuhne/orgs","repos_url":"https://api.github.com/users/JeremyKuhne/repos","events_url":"https://api.github.com/users/JeremyKuhne/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyKuhne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-23T21:44:25Z","updated_at":"2016-11-23T21:44:25Z","closed_at":null,"body":"Due to the lack of thread safety with environment variables on Unix the values are cached in the CoreFx [implementation]( https://github.com/dotnet/corefx/blob/master/src/System.Runtime.Extensions/src/System/Environment.Unix.cs#L19).\r\n\r\nThis causes `Path.GetTempPath()` and anything else that tries to get an environment variable in CoreLib to not have the up-to-date values. See the failing tests in https://github.com/dotnet/corefx/pull/13920.\r\n\r\nWe should move the implementation to Internal.Runtime.Augments so we have one source of truth."}}
{"actor":{"display_login":"JeremyKuhne"}}