Minor: added aux function
This commit is contained in:
parent
037b91b889
commit
618430bcc5
@ -32,8 +32,11 @@ public:
|
|||||||
int start_timeout = 100000,
|
int start_timeout = 100000,
|
||||||
int finish_timeout = 100000);
|
int finish_timeout = 100000);
|
||||||
|
|
||||||
|
void resetCommandResult() { m_commandResult.clear(); }
|
||||||
QString getCommandResult(bool reset = false);
|
QString getCommandResult(bool reset = false);
|
||||||
QString command() const { return m_command; }
|
QString const &command() const { return m_command; }
|
||||||
|
QString const &commandResult() const { return m_commandResult; }
|
||||||
|
QStringList const &args() const { return m_args; }
|
||||||
|
|
||||||
bool exec();
|
bool exec();
|
||||||
int exitCode() const { return m_exitCode; }
|
int exitCode() const { return m_exitCode; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user