X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=nssm.h;h=4a328599ece8a783158d2c728c347dbd8924bdfc;hb=40792fac2ef98e69c331b9cd5a9279dc3e1eb730;hp=22b5511b788432081e292b03b4ac86573cc18401;hpb=b900e3b0859e71d5089c14314c0060082fc230de;p=nssm.git diff --git a/nssm.h b/nssm.h index 22b5511..4a32859 100644 --- a/nssm.h +++ b/nssm.h @@ -10,15 +10,15 @@ #include "messages.h" #include "process.h" #include "registry.h" +#include "io.h" #include "service.h" #include "gui.h" int str_equiv(const char *, const char *); #define NSSM "nssm" -#define NSSM_VERSION "2.9" -#define NSSM_DATE "2011-02-28" -#define NSSM_RUN "run" +#define NSSM_VERSION "2.16" +#define NSSM_DATE "2012-12-01" /* MSDN says the commandline in CreateProcess() is limited to 32768 characters @@ -39,6 +39,11 @@ int str_equiv(const char *, const char *); */ #define NSSM_RESET_THROTTLE_RESTART 1500 +/* + How many milliseconds to wait for the application to die after sending + a Control-C event to its console. +*/ +#define NSSM_KILL_CONSOLE_GRACE_PERIOD 1500 /* How many milliseconds to wait for the application to die after posting to its windows' message queues.