LMMS
Loading...
Searching...
No Matches
ChildProcess::ActiveProcess Class Reference

#include <juce_posix_SharedCode.h>

Public Member Functions

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

Public Attributes

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

Private Attributes

HANDLE readPipe
HANDLE writePipe
PROCESS_INFORMATION processInfo

Constructor & Destructor Documentation

◆ ActiveProcess() [1/2]

◆ ActiveProcess() [2/2]

◆ ~ActiveProcess() [1/2]

◆ ~ActiveProcess() [2/2]

Member Function Documentation

◆ getExitCode() [1/2]

◆ getExitCode() [2/2]

◆ getPID() [1/2]

◆ getPID() [2/2]

◆ isRunning() [1/2]

bool water::ChildProcess::ActiveProcess::isRunning ( ) const
inlinenoexcept

◆ isRunning() [2/2]

◆ killProcess() [1/2]

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

◆ killProcess() [2/2]

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

◆ read() [1/2]

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

◆ read() [2/2]

int water::ChildProcess::ActiveProcess::read ( void * dest,
int numNeeded ) const
inlinenoexcept

Member Data Documentation

◆ childPID

◆ exitCode

◆ ok

◆ pipeHandle

◆ processInfo

◆ readHandle

◆ readPipe

◆ writePipe


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