diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp index a54fbbde3..45fdd51c6 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -26,10 +26,10 @@ #include <stdlib.h> -#include "debug.h" - #include "localconsts.h" +#include "debug.h" + const int timeOut = 10; #ifdef WIN32 @@ -118,7 +118,7 @@ int execFile(std::string pathName, std::string name, execl(pathName.c_str(), name.c_str(), arg1.c_str(), arg2.c_str(), (char *)nullptr); } - exit(0); + exit(-1); } // monitoring process |