Reset SIGCHLD response to default when executing setup program, so that

running setup multiple times doesn't cause the IWAD detection to stop
working.

Subversion-branch: /launcher
Subversion-revision: 1769
This commit is contained in:
Simon Howard 2009-12-27 19:32:44 +00:00
parent d7617011e0
commit 4c276878e8

View file

@ -99,6 +99,8 @@ void ExecuteProgram(const char *executable, const char *iwad, const char *args)
if (childpid == 0)
{
signal(SIGCHLD, SIG_DFL);
DoExec(executable, iwad, args);
}
else