mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS/Linux/Android: Fixed an issue where reading the output of a ChildProcess could hang or return incorrect output
This commit is contained in:
parent
4a73a9a6f0
commit
e89c4d5d4e
1 changed files with 1 additions and 1 deletions
|
|
@ -1211,7 +1211,7 @@ public:
|
|||
#error // some crazy 3rd party headers (e.g. zlib) define this function as NULL!
|
||||
#endif
|
||||
|
||||
if (childPID != 0)
|
||||
if (readHandle == nullptr && childPID != 0)
|
||||
readHandle = fdopen (pipeHandle, "r");
|
||||
|
||||
if (readHandle != nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue