JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::ChildProcess::ActiveProcess Class Reference

#include <juce_SharedCode_posix.h>

Collaboration diagram for juce::ChildProcess::ActiveProcess:

Public Member Functions

 ActiveProcess (const StringArray &arguments, int streamFlags)
 
 ~ActiveProcess ()
 
uint32 getExitCode () noexcept
 
bool isRunning () noexcept
 
bool killProcess () const noexcept
 
int read (void *dest, int numBytes) noexcept
 

Public Attributes

int childPID = 0
 
int exitCode = -1
 
int pipeHandle = 0
 
FILE * readHandle = {}
 

Constructor & Destructor Documentation

◆ ActiveProcess()

◆ ~ActiveProcess()

juce::ChildProcess::ActiveProcess::~ActiveProcess ( )
inline

References pipeHandle, and readHandle.

Member Function Documentation

◆ getExitCode()

uint32 juce::ChildProcess::ActiveProcess::getExitCode ( )
inlinenoexcept

References childPID, and exitCode.

◆ isRunning()

bool juce::ChildProcess::ActiveProcess::isRunning ( )
inlinenoexcept

References childPID, and exitCode.

◆ killProcess()

bool juce::ChildProcess::ActiveProcess::killProcess ( ) const
inlinenoexcept

References childPID.

◆ read()

int juce::ChildProcess::ActiveProcess::read ( void *  dest,
int  numBytes 
)
inlinenoexcept

Member Data Documentation

◆ childPID

int juce::ChildProcess::ActiveProcess::childPID = 0

◆ exitCode

int juce::ChildProcess::ActiveProcess::exitCode = -1

Referenced by getExitCode(), and isRunning().

◆ pipeHandle

int juce::ChildProcess::ActiveProcess::pipeHandle = 0

Referenced by ActiveProcess(), ~ActiveProcess(), and read().

◆ readHandle

FILE* juce::ChildProcess::ActiveProcess::readHandle = {}

Referenced by ~ActiveProcess(), and read().


The documentation for this class was generated from the following file: