[macOS] Fix crash on failed fork.

(cherry picked from commit d6e3a8a137)
This commit is contained in:
bruvzg 2020-08-11 17:45:09 +03:00 committed by Rémi Verschelde
parent 5972495d99
commit b0aabf2c03

View file

@ -347,7 +347,7 @@ Error OS_Unix::execute(const String &p_path, const List<String> &p_arguments, bo
execvp(p_path.utf8().get_data(), &args[0]);
// still alive? something failed..
fprintf(stderr, "**ERROR** OS_Unix::execute - Could not create child process while executing: %s\n", p_path.utf8().get_data());
abort();
raise(SIGKILL);
}
if (p_blocking) {