Merge pull request #41188 from bruvzg/fix_mac_fork_crash

[macOS] Fix crash on failed `fork`.
This commit is contained in:
Rémi Verschelde 2020-08-11 17:28:08 +02:00 committed by GitHub
commit 5ee0af0dcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -323,7 +323,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) {