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:
parent
7c4cd54bcc
commit
076be31fce
1 changed files with 1 additions and 1 deletions
|
|
@ -1155,7 +1155,7 @@ public:
|
|||
argv.add (nullptr);
|
||||
|
||||
execvp (exe.toRawUTF8(), argv.getRawDataPointer());
|
||||
exit (-1);
|
||||
_exit (-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue