diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-11 18:39:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-11 18:39:34 +0300 |
commit | 350b3a4029d2850aa3057f25566abf8a589f487f (patch) | |
tree | 87f19e178dd827b60ef84db919d564041029390d /src/utils/process.cpp | |
parent | 2274758726d1138a2b65535244e84225c3de5304 (diff) | |
download | manaverse-350b3a4029d2850aa3057f25566abf8a589f487f.tar.gz manaverse-350b3a4029d2850aa3057f25566abf8a589f487f.tar.bz2 manaverse-350b3a4029d2850aa3057f25566abf8a589f487f.tar.xz manaverse-350b3a4029d2850aa3057f25566abf8a589f487f.zip |
Enable best mode autodetection for linux.
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r-- | src/utils/process.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 3a742b313..620cb3b93 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -171,6 +171,7 @@ int execFileWait(std::string pathName, std::string name, { // sleep pid sleep (waitTime); // printf ("time out\n"); + execl("/bin/true", "/bin/true", static_cast<char *>(nullptr)); exit(-1); } @@ -189,6 +190,7 @@ int execFileWait(std::string pathName, std::string name, ret = -1; } wait(nullptr); + execl("/bin/true", "/bin/true", static_cast<char *>(nullptr)); exit(ret); } |