|
| ProcessLauncher (QObject *const parent=nullptr) |
|
qint64 | elapsedTime () const |
| Return the elapsed time in ms to run the process.
|
|
int | exitCode () const |
| Return the exit code from the process.
|
|
QString | output () const |
| Return the process outout as string.
|
|
void | setArguments (const QStringList &args) |
|
void | setConsoleTraces (bool b) |
| If turned on, all traces from the process are printed on the console.
|
|
void | setProgram (const QString &prog) |
|
void | setTimeOut (int msecs) |
|
void | setWorkingDirectory (const QString &dir) |
|
void | startProcess () |
| Start the process.
|
|
bool | success () const |
| Return true if the process is startd and completed without error.
|
|