mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #235 from kiwix/fix_exit
Force the exit of the forked process.
This commit is contained in:
commit
15b3ed24b7
|
@ -67,7 +67,7 @@ void UnixImpl::run(commandLine_t& commandLine)
|
|||
commandLine.push_back(NULL);
|
||||
if (execvp(binary, const_cast<char* const*>(commandLine.data()))) {
|
||||
perror("Cannot launch\n");
|
||||
exit(-1);
|
||||
_exit(-1);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue