summaryrefslogtreecommitdiff
path: root/src/utils/process.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-05 19:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-05 19:48:40 +0300
commitbfa7b90207d3671c6e98129be9ce82b1fbe5b419 (patch)
tree22198ed99b91d86885042b98b9da0db6a4504b3a /src/utils/process.cpp
parent7cf5cb58865bc5f3951a6f4e40cf892ede96fc5a (diff)
downloadManaVerse-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.gz
ManaVerse-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.bz2
ManaVerse-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.xz
ManaVerse-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.zip
Fix test result if impossible start test.
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r--src/utils/process.cpp6
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