69 bool start (
const String& command,
int streamFlags = wantStdOut | wantStdErr);
83 bool isRunning()
const;
89 int readProcessOutput (
void* destBuffer,
int numBytesToRead);
94 String readAllProcessOutput();
97 bool waitForProcessToFinish (
int timeoutMs)
const;
100 uint32 getExitCode()
const;
111 std::unique_ptr<ActiveProcess> activeProcess;
113 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (
ChildProcess)
Launches and monitors a child process.
bool start(const StringArray &arguments, int streamFlags=wantStdOut|wantStdErr)
Attempts to launch a child process command.
StreamFlags
These flags are used by the start() methods.
bool start(const String &command, int streamFlags=wantStdOut|wantStdErr)
Attempts to launch a child process command.
A special array for holding a list of strings.
#define JUCE_API
This macro is added to all JUCE public class declarations.