- 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:
Randy Heit 2012-03-12 04:05:15 +00:00
parent 4d64085c8a
commit ce43552ebb

View file

@ -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)
{