From: Iain Patterson Date: Wed, 16 Feb 2011 23:46:27 +0000 (+0000) Subject: Strip quotes from directory name. X-Git-Tag: v2.8~9 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=859c7ca832ff02cb5a4f27693d7b997034daa42a;p=nssm.git Strip quotes from directory name. Windows directories aren't allowed to contain quotes so CreateProcess() will fail if the AppDirectory is quoted. Note that it succeeds even if Application itself is quoted as the application plus parameters are interpreted as a command line. --- diff --git a/nssm.h b/nssm.h index af8380e..602c0c9 100644 --- a/nssm.h +++ b/nssm.h @@ -2,6 +2,7 @@ #define NSSM_H #define _WIN32_WINNT 0x0500 +#include #include #include #include diff --git a/nssm.vcproj b/nssm.vcproj index 4130d2e..b85c1e7 100755 --- a/nssm.vcproj +++ b/nssm.vcproj @@ -76,7 +76,7 @@ />