![]() |
OpendTect
6.6
|
Specifies how to execute a command. More...
Public Member Functions | |
| CommandExecPars (bool isbatchprog) | |
| CommandExecPars (LaunchType lt=Wait4Finish) | |
| CommandExecPars & | createstreams (bool val) |
| void | fillPar (IOPar &) const |
| const char * | getRedirectionFnm (bool isstderr) const |
| CommandExecPars & | isconsoleuiprog (bool val) |
| CommandExecPars & | launchtype (LaunchType val) |
| CommandExecPars & | monitorfnm (BufferString val) |
| CommandExecPars & | needmonitor (bool val) |
| CommandExecPars & | prioritylevel (float val) |
| void | removeFromPar (IOPar &) const |
| CommandExecPars & | runasadmin (bool val) |
| void | setRedirection (const char *, bool isstderr) |
| void | unsetRedirections () |
| void | usePar (const IOPar &) |
| CommandExecPars & | workingdir (BufferString val) |
Static Public Member Functions | |
| static const StepInterval< int > | cMachineUserPriorityRange (bool iswin) |
| static int | getMachinePriority (float priolevel, bool iswin) |
| static const char * | sKeyPriority () |
Public Attributes | |
| bool | createstreams_ |
| bool | isconsoleuiprog_ |
| -1=lowest, 0=normal, 1=highest (administrator) More... | |
| LaunchType | launchtype_ |
| BufferString | monitorfnm_ |
| bool | needmonitor_ |
| float | prioritylevel_ |
| when empty, will be generated (if needed) More... | |
| bool | runasadmin_ |
| BufferString | workingdir_ |
Specifies how to execute a command.
<>
|
inline |
|
explicit |
|
static |
Restricted to OS-specific user available range Unix: 0-19 (0=normal) Windows: 6-8 (8=normal)
|
inline |
| void OS::CommandExecPars::fillPar | ( | IOPar & | ) | const |
|
static |
| const char* OS::CommandExecPars::getRedirectionFnm | ( | bool | isstderr | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void OS::CommandExecPars::removeFromPar | ( | IOPar & | ) | const |
|
inline |
| void OS::CommandExecPars::setRedirection | ( | const char * | , |
| bool | isstderr | ||
| ) |
|
inlinestatic |
| void OS::CommandExecPars::unsetRedirections | ( | ) |
Must be called before the object is destructed if setRedirection was used
| void OS::CommandExecPars::usePar | ( | const IOPar & | ) |
|
inline |
| bool OS::CommandExecPars::createstreams_ |
| bool OS::CommandExecPars::isconsoleuiprog_ |
-1=lowest, 0=normal, 1=highest (administrator)
| LaunchType OS::CommandExecPars::launchtype_ |
| BufferString OS::CommandExecPars::monitorfnm_ |
| bool OS::CommandExecPars::needmonitor_ |
| float OS::CommandExecPars::prioritylevel_ |
when empty, will be generated (if needed)
| bool OS::CommandExecPars::runasadmin_ |
program uses text-based stdin console input if true, will ignore monitor settings
| BufferString OS::CommandExecPars::workingdir_ |
launch in a new session as admin Windows only.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022