https://issues.dlang.org/show_bug.cgi?id=18425
Steven Schveighoffer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Steven Schveighoffer <[email protected]> --- (In reply to Rainer Schuetze from comment #1) > environment["DLAGS"] = "2"; Was this a hand-copied typo, or was there a typo in the original? > The issue is that the C runtime caches the environment changes, but > std.process.environment bypasses the cache. Subsequent C runtime calls like > getenv, system or spawn use the cached environment. Bleh, too bad we can't update snn.lib. This is like papering over the problem. I looked at the code, and it's very complex, so I don't know that it's worth trying to fix. --
