17 #include <QtCore/QStringList> 31 virtual int system(
const QString &command) = 0;
35 virtual bool startProcess(
const QString &processName,
const QStringList &arguments) = 0;
40 , QString * output =
nullptr) = 0;
virtual bool startProcess(const QString &processName, const QStringList &arguments)=0
Asynchronously starts given process with given arguments.
virtual int system(const QString &command)=0
Executes given command on a system console. Returns return code of a command.
SystemConsoleInterface()=default
virtual ~SystemConsoleInterface()=default
virtual bool startProcessSynchronously(const QString &processName, const QStringList &arguments, QString *output=nullptr)=0
Synchronously starts given process with given arguments.
Definition: brickFactory.h:21
Represents console of an OS.
Definition: systemConsoleInterface.h:22