Creates child process of this application.
|
const auto & | getApplicationFile () const |
|
const auto & | getArgs () const |
|
const auto & | getWorkingDirectory () const |
|
APath | getPathToExecutable () override |
|
AOptional< int > | exitCodeNonBlocking () const noexcept |
|
bool | isFinished () const noexcept |
|
void | run (ASubProcessExecutionFlags flags=ASubProcessExecutionFlags::DEFAULT) |
| Launches process.
|
|
int | waitForExitCode () override |
| Wait for process to be finished. More...
|
|
uint32_t | getPid () const noexcept override |
|
size_t | processMemory () const override |
| Obtain process memory usage. More...
|
|
APath | getModuleName () override |
|
const _< IOutputStream > & | getStdInStream () const |
|
void | kill () const noexcept |
|
| noncopyable (const noncopyable &)=delete |
|
noncopyable & | operator= (const noncopyable &)=delete |
|
_< AObject > | sharedPtr () |
|
_weak< AObject > | weakPtr () |
|
void | clearSignals () noexcept |
|
template<AAnySignal Signal, ACompatibleSlotFor< Signal > Function> |
void | connect (Signal &signal, Function &&function) |
|
void | setSignalsEnabled (bool enabled) |
|
bool | isSignalsEnabled () const noexcept |
|
template<ASignalInvokable T> |
void | operator^ (T &&t) |
|
_< AAbstractThread > | getThread () const |
|
bool | isSlotsCallsOnlyOnMyThread () const noexcept |
|
void | setSlotsCallsOnlyOnMyThread (bool slotsCallsOnlyOnMyThread) |
|
|
static _< AChildProcess > | create (ProcessCreationInfo args) |
| Launches an executable. More...
|
|
static _< AChildProcess > | make (AString applicationFile, AString args={}, APath workingDirectory={}) |
| Launches an executable. More...
|
|
static int | executeWaitForExit (AString applicationFile, AString args={}, APath workingDirectory={}, ASubProcessExecutionFlags flags=ASubProcessExecutionFlags::DEFAULT) |
| Launches executable. More...
|
|
static AVector< _< AProcess > > | all () |
|
static _< AProcess > | self () |
|
static _< AProcess > | findAnotherSelfInstance (const AString &yourProjectName) |
| tempFileName file name which will be used as lock More...
|
|
static _< AProcess > | fromPid (uint32_t pid) |
|
static void | disconnect () |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object *object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object &object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, _< Object > object, Function &&function) |
|
static void | moveToThread (aui::no_escape< AObject > object, _< AAbstractThread > thread) |
|
void | setThread (_< AAbstractThread > thread) |
| Set thread of the object.
|
|