trikRuntime
|
Empty implementation of system console. Only logs operations, returns empty string as process output. More...
#include <stubSystemConsole.h>
Public Member Functions | |
int | system (const QString &command) override |
Executes given command on a system console. Returns return code of a command. More... | |
bool | startProcess (const QString &processName, const QStringList &arguments) override |
Asynchronously starts given process with given arguments. More... | |
bool | startProcessSynchronously (const QString &processName, const QStringList &arguments, QString *output=nullptr) override |
Synchronously starts given process with given arguments. More... | |
Public Member Functions inherited from trikHal::SystemConsoleInterface | |
virtual | ~SystemConsoleInterface ()=default |
SystemConsoleInterface ()=default | |
Empty implementation of system console. Only logs operations, returns empty string as process output.
|
overridevirtual |
Asynchronously starts given process with given arguments.
Implements trikHal::SystemConsoleInterface.
|
overridevirtual |
Synchronously starts given process with given arguments.
Implements trikHal::SystemConsoleInterface.
|
overridevirtual |
Executes given command on a system console. Returns return code of a command.
Implements trikHal::SystemConsoleInterface.