Added test_environment().
authorIain Patterson <me@iain.cx>
Tue, 26 Nov 2013 17:21:27 +0000 (17:21 +0000)
committerIain Patterson <me@iain.cx>
Tue, 26 Nov 2013 20:38:06 +0000 (20:38 +0000)
commit135329c0790e6d33f658727be3e5439a167a7da8
treed13c763f9d8e165941f1b9bfe753bd986f9ed1b1
parent4af002456ac6339ab1ad0c88641d6b35fe9af2ad
Added test_environment().

New helper function to verify the environment by relaunching NSSM itself
with the candidate environment set.  Unless something goes horribly
wrong somewhere, CreateProcess() will succeed iff the environment is
valid.
process.cpp
process.h