AUI Framework
develop
Cross-platform base for C++ UI apps
|
Public Member Functions | |
int | waitForExitCode () override |
Wait for process to be finished and returns exit code. | |
APath | getModuleName () override |
APath | getPathToExecutable () override |
uint32_t | getPid () const noexcept override |
size_t | processMemory () const override |
Obtain process memory usage. | |
Public Member Functions inherited from AProcess | |
void | kill () const noexcept |
Public Member Functions inherited from aui::noncopyable | |
noncopyable (const noncopyable &)=delete | |
noncopyable & | operator= (const noncopyable &)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from AProcess | |
static _< AChildProcess > | create (ProcessCreationInfo args) |
Launches an executable. | |
static _< AChildProcess > | make (AString applicationFile, AString args={}, APath workingDirectory={}) |
Launches an executable. | |
static int | executeWaitForExit (AString applicationFile, AString args={}, APath workingDirectory={}, ASubProcessExecutionFlags flags=ASubProcessExecutionFlags::DEFAULT) |
Launches executable. | |
static void | executeAsAdministrator (const AString &applicationFile, const AString &args={}, const APath &workingDirectory={}) |
Launches executable with administrator rights. (Windows only) | |
static AVector< _< AProcess > > | all () |
static _< AProcess > | self () |
static _< AProcess > | findAnotherSelfInstance (const AString &yourProjectName) |
tempFileName file name which will be used as lock | |
static _< AProcess > | fromPid (uint32_t pid) |
|
inlineoverridevirtual |
Implements AProcess.
|
inlineoverridevirtual |
Implements AProcess.
|
inlineoverridevirtualnoexcept |
Implements AProcess.
|
inlineoverridevirtual |
Obtain process memory usage.
Implements AProcess.
|
inlineoverridevirtual |