69 bool start (
const String& command,
int streamFlags = wantStdOut | wantStdErr);
80 bool start (
const StringArray& arguments,
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)
#define JUCE_API
This macro is added to all JUCE public class declarations.
A special array for holding a list of strings.
Launches and monitors a child process.
StreamFlags
These flags are used by the start() methods.