MacOS: Use _exit instead of exit on execvp failure in crashlog
This commit is contained in:
@@ -82,7 +82,7 @@ static bool ExecReadStdoutThroughFile(const char *file, char *const *args, char
|
|||||||
close(null_fd);
|
close(null_fd);
|
||||||
|
|
||||||
execvp(file, args);
|
execvp(file, args);
|
||||||
exit(42);
|
_Exit(42);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* parent */
|
/* parent */
|
||||||
|
Reference in New Issue
Block a user