trikRuntime
|
Represents console of an OS. More...
#include <systemConsoleInterface.h>
Public Member Functions | |
virtual | ~SystemConsoleInterface ()=default |
SystemConsoleInterface ()=default | |
virtual int | system (const QString &command)=0 |
Executes given command on a system console. Returns return code of a command. More... | |
virtual bool | startProcess (const QString &processName, const QStringList &arguments)=0 |
Asynchronously starts given process with given arguments. More... | |
virtual bool | startProcessSynchronously (const QString &processName, const QStringList &arguments, QString *output=nullptr)=0 |
Synchronously starts given process with given arguments. More... | |
Represents console of an OS.
|
virtualdefault |
|
default |
|
pure virtual |
Asynchronously starts given process with given arguments.
Implemented in trikHal::stub::StubSystemConsole, and trikHal::trik::TrikSystemConsole.
|
pure virtual |
Synchronously starts given process with given arguments.
Implemented in trikHal::stub::StubSystemConsole, and trikHal::trik::TrikSystemConsole.
|
pure virtual |
Executes given command on a system console. Returns return code of a command.
Implemented in trikHal::stub::StubSystemConsole, and trikHal::trik::TrikSystemConsole.