Copy environment block rather than setting extra variables.
authorIain Patterson <me@iain.cx>
Thu, 9 Jan 2014 18:27:00 +0000 (18:27 +0000)
committerIain Patterson <me@iain.cx>
Thu, 9 Jan 2014 18:27:00 +0000 (18:27 +0000)
If AppEnvironmentExtra is configured we were calling
SetEnvironmentVariable() to append each one to the existing environment.
That's arguably wrong as it could mess up NSSM's own environment.

Instead we now call GetEnvironmentStrings() and take a copy of the
current environment ebfore appending the extra environment as we were
doing before.


No differences found