C++ common classes
General purpose classes for use across projects (Apache license)
|
_MSC_VER > 1000 More...
#include <CXPlatProcess.h>
Public Member Functions | |
CXPlatProcess () | |
CXPlatProcess (char *szProcess, BOOL bHide=TRUE, BOOL bWait=FALSE, BOOL bInheritHandles=TRUE) | |
virtual | ~CXPlatProcess () |
int | Launch (char *szProcess, BOOL bHide=TRUE, BOOL bWait=FALSE, BOOL bInheritHandles=TRUE) |
Launch and return process ID (NT) | |
XPLAT_HANDLE | GetProcessHandle () |
Protected Member Functions | |
int | LaunchHiddenProcess (char *szProcess, BOOL bHide=TRUE, BOOL bWait=FALSE, BOOL bInheritHandles=TRUE) |
Launch a process hidden (this is mostly for Windows) | |
Protected Attributes | |
XPLAT_HANDLE | hProcess |
_MSC_VER > 1000
Launch a separate process Class to launch a process
Definition at line 31 of file CXPlatProcess.h.
Definition at line 29 of file CXPlatProcess.cpp.
CXPlatProcess::CXPlatProcess | ( | char * | szProcess, |
BOOL | bHide = TRUE , |
||
BOOL | bWait = FALSE , |
||
BOOL | bInheritHandles = TRUE |
||
) |
Definition at line 34 of file CXPlatProcess.cpp.
CXPlatProcess::~CXPlatProcess | ( | ) | [virtual] |
Definition at line 41 of file CXPlatProcess.cpp.
Definition at line 50 of file CXPlatProcess.cpp.
int CXPlatProcess::Launch | ( | char * | szProcess, |
BOOL | bHide = TRUE , |
||
BOOL | bWait = FALSE , |
||
BOOL | bInheritHandles = TRUE |
||
) |
Launch and return process ID (NT)
Definition at line 45 of file CXPlatProcess.cpp.
int CXPlatProcess::LaunchHiddenProcess | ( | char * | szProcess, |
BOOL | bHide = TRUE , |
||
BOOL | bWait = FALSE , |
||
BOOL | bInheritHandles = TRUE |
||
) | [protected] |
Launch a process hidden (this is mostly for Windows)
Definition at line 56 of file CXPlatProcess.cpp.
XPLAT_HANDLE CXPlatProcess::hProcess [protected] |
Definition at line 48 of file CXPlatProcess.h.