Added quote().
authorIain Patterson <me@iain.cx>
Fri, 15 Jul 2016 14:08:48 +0000 (15:08 +0100)
committerIain Patterson <me@iain.cx>
Thu, 28 Jul 2016 15:44:16 +0000 (16:44 +0100)
commit2a259b54caa08ef6d4dbc99f6fe7ec97837c25e8
treeaeb0914dc51c4aa9e196f3ffcac9086b18048138
parentcaaaa1208f29647987173f7d9bc1aa75b58757b7
Added quote().

New function to quote strings for passing to the command prompt.
Protect metacharacters with ^ when quoting.  Always quote when
metacharacters are present even if we wouldn't otherwise.
nssm.cpp
nssm.h