I am using JUCE 3.2.0. I have a question realte to the design of ChildProcess::ActiveProcess class. In the constructor of ActiveProcess, it has code looks like below:
Another question is: ChildProcessMaster::launchSlaveProcess calls ChildProcess::start with default value of streamFlags (wantStdOut | wantStdErr), which restrict client of ChildProcessMaster to enable/disable input/output pipe redirection.
Not sure if any side effect while adding streamFlags to launchSlaveProcess?
I am using JUCE 3.2.0 on Windows. I use ChildProcessMaster::launchSlaveProcess to launch a child process to perform 2-way IPC. The problem is, I DO NOT want to change hStdOutput/hStdErr of child process, but current implementation of launchSlaveProcess won't let me do this.
Is it possible to add additional parameter to ChildProcessMaster::launchSlaveProcess to accept streamFlags like ChildProcess::start does?