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

pull/428/head
Jonathan G Rennison 2 years ago
parent 8b8a54fe62
commit 3d39e439f6

@ -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 */

Loading…
Cancel
Save