Browse Source

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

tags/2021-05-28
ed 6 years ago
parent
commit
076be31fce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/native/juce_posix_SharedCode.h

+ 1
- 1
modules/juce_core/native/juce_posix_SharedCode.h View File

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


Loading…
Cancel
Save