Issue ID: 18425
Summary: std.process environment["VAR"] = "NAME" does not
always take effect
Mike Franklin had a heck of a time dealing with an apparent bug in
`std.process` where setting an environment variable in windows doesn't appear
to take effect. By "take effect" I mean, a child process did not receive the
new value set by the parent process using `environemnt["VAR"] = "VALUE";`.
phobos uses the `SetEnvironmentVariableW` function for all windows
platforms/runtimes, however, Mike only started having success once he started
using `putenv` for `version(Win32)`.
PR for reference: https://github.com/dlang/dmd/pull/7845