From: Iain Patterson Date: Fri, 15 Jul 2016 14:08:48 +0000 (+0100) Subject: Added quote(). X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=2a259b54caa08ef6d4dbc99f6fe7ec97837c25e8;hp=2a259b54caa08ef6d4dbc99f6fe7ec97837c25e8;p=nssm.git 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. ---