Merge pull request #235 from kiwix/fix_exit

Force the exit of the forked process.
This commit is contained in:
Matthieu Gautier 2019-06-25 18:53:31 +02:00 committed by GitHub
commit 15b3ed24b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void UnixImpl::run(commandLine_t& commandLine)
commandLine.push_back(NULL); commandLine.push_back(NULL);
if (execvp(binary, const_cast<char* const*>(commandLine.data()))) { if (execvp(binary, const_cast<char* const*>(commandLine.data()))) {
perror("Cannot launch\n"); perror("Cannot launch\n");
exit(-1); _exit(-1);
} }
break; break;