mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
Ignore child processes so they don't stick around as defunct
This commit is contained in:
1 parent
84baa6d752
commit
7af08c80ee
1 file changed
+3
@@ -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