mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Use _exit() instead of exit() when Timidity++ cannot be execed, because
exit() can (and does) make the process hang. (It sure would be nice if POSIX-land had a simple CreateProcess API, but I guess that would be too easy, huh?) SVN r3432 (trunk)
This commit is contained in:
parent
4d64085c8a
commit
ce43552ebb
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ bool TimidityPPMIDIDevice::LaunchTimidity ()
|
|||
|
||||
execvp (words.we_wordv[0], words.we_wordv);
|
||||
fprintf(stderr,"execvp failed\n");
|
||||
exit (0); // if execvp succeeds, we never get here
|
||||
_exit (0); // if execvp succeeds, we never get here
|
||||
}
|
||||
else if (forkres < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue