Commented out debug-messages
This commit is contained in:
parent
0e0363f131
commit
e35fb9dc19
@ -45,8 +45,8 @@ bool Command::execute(QString workingDirectory, QStringList args) {
|
|||||||
connect(&(*p), SIGNAL(readyReadStandardOutput()), this, SLOT(readyReadStandardOutput()));
|
connect(&(*p), SIGNAL(readyReadStandardOutput()), this, SLOT(readyReadStandardOutput()));
|
||||||
connect(&(*p), SIGNAL(readyReadStandardError()), this, SLOT(readyReadStandardError()));
|
connect(&(*p), SIGNAL(readyReadStandardError()), this, SLOT(readyReadStandardError()));
|
||||||
|
|
||||||
qCritical() << "START COMMAND" << m_command << "WITH ARGS" << args
|
//qCritical() << "START COMMAND" << m_command << "WITH ARGS" << args
|
||||||
<< "IN" << workingDirectory;
|
// << "IN" << workingDirectory;
|
||||||
|
|
||||||
p->setWorkingDirectory(workingDirectory);
|
p->setWorkingDirectory(workingDirectory);
|
||||||
if (!args.isEmpty()) {
|
if (!args.isEmpty()) {
|
||||||
@ -56,14 +56,14 @@ bool Command::execute(QString workingDirectory, QStringList args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p->waitForStarted(m_waitForStartTimeout)) {
|
if (p->waitForStarted(m_waitForStartTimeout)) {
|
||||||
qDebug() << "PROCESS" << m_command << "STARTED";
|
//qDebug() << "PROCESS" << m_command << "STARTED";
|
||||||
if (p->state() == QProcess::ProcessState::Running) {
|
if (p->state() == QProcess::ProcessState::Running) {
|
||||||
qDebug() << "PROCESS" << m_command << "RUNNING";
|
//qDebug() << "PROCESS" << m_command << "RUNNING";
|
||||||
if (p->waitForFinished(m_waitForFinishTimeout)) {
|
if (p->waitForFinished(m_waitForFinishTimeout)) {
|
||||||
qDebug() << "PROCESS" << m_command << "FINISHED";
|
//qDebug() << "PROCESS" << m_command << "FINISHED";
|
||||||
if (p->exitStatus() == QProcess::NormalExit) {
|
if (p->exitStatus() == QProcess::NormalExit) {
|
||||||
qInfo() << "EXECUTED" << m_command
|
//qInfo() << "EXECUTED" << m_command
|
||||||
<< "with code" << p->exitCode();
|
// << "with code" << p->exitCode();
|
||||||
// qInfo() << "RESULT" << m_commandResult;
|
// qInfo() << "RESULT" << m_commandResult;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user