You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
[macOS] Fix crash on failed fork.
This commit is contained in:
@@ -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]);
|
execvp(p_path.utf8().get_data(), &args[0]);
|
||||||
// still alive? something failed..
|
// still alive? something failed..
|
||||||
fprintf(stderr, "**ERROR** OS_Unix::execute - Could not create child process while executing: %s\n", p_path.utf8().get_data());
|
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) {
|
if (p_blocking) {
|
||||||
|
|||||||
Reference in New Issue
Block a user