1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Call _exit() instead of exit() on failure of execvp() in the forked child process on posix systems to avoid double-flushing stdio buffers

This commit is contained in:
ed 2019-03-14 15:56:06 +00:00
parent 7c4cd54bcc
commit 076be31fce

View file

@ -1155,7 +1155,7 @@ public:
argv.add (nullptr);
execvp (exe.toRawUTF8(), argv.getRawDataPointer());
exit (-1);
_exit (-1);
}
else
{