git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed NSSM_EVENT_DUPLICATEHANDLE_FAILED message.
[nssm.git]
/
process.cpp
diff --git
a/process.cpp
b/process.cpp
index
69aea03
..
19b893a
100644
(file)
--- a/
process.cpp
+++ b/
process.cpp
@@
-314,7
+314,7
@@
void kill_process_tree(nssm_service_t *service, unsigned long pid, unsigned long
-1 on error.
*/
int test_environment(TCHAR *env) {
- TCHAR path[
MAX_PA
TH];
+ TCHAR path[
PATH_LENG
TH];
GetModuleFileName(0, path, _countof(path));
STARTUPINFO si;
ZeroMemory(&si, sizeof(si));