From 4049cb1407d71d44808386031451d490cf96dd82 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 4 Sep 2022 22:15:26 +0100 Subject: [PATCH] MacOS: Use _exit instead of exit on execvp failure in crashlog --- src/os/macosx/crashlog_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/macosx/crashlog_osx.cpp b/src/os/macosx/crashlog_osx.cpp index 0fe1f4ad61..2db57e9cc4 100644 --- a/src/os/macosx/crashlog_osx.cpp +++ b/src/os/macosx/crashlog_osx.cpp @@ -82,7 +82,7 @@ static bool ExecReadStdoutThroughFile(const char *file, char *const *args, char close(null_fd); execvp(file, args); - exit(42); + _Exit(42); } /* parent */