Unix: Use _exit instead of exit on execvp failure in crashlog

This commit is contained in:
Jonathan G Rennison
2022-09-04 20:58:28 +01:00
parent 8b8a54fe62
commit 3d39e439f6

View File

@@ -144,7 +144,7 @@ static bool ExecReadStdout(const char *file, char *const *args, char *&buffer, c
nulls.Close();
execvp(file, args);
exit(42);
_exit(42);
}
/* parent */
@@ -207,7 +207,7 @@ static bool ExecReadStdoutThroughFile(const char *file, char *const *args, char
nulls.Close();
execvp(file, args);
exit(42);
_exit(42);
}
/* parent */