mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 17:25:54 +00:00
Ignore child processes so they don't stick around as defunct
This commit is contained in:
@@ -309,6 +309,9 @@ static pid_t RunProcess(const char *app, const char *workingDir, const char *cmd
|
||||
}
|
||||
}
|
||||
|
||||
// don't care about child processes, just ignore them
|
||||
signal(SIGCHLD, SIG_IGN);
|
||||
|
||||
pid_t childPid = fork();
|
||||
if(childPid == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user