Commented out debug-messages

This commit is contained in:
Gerhard Hoffmann 2023-07-19 16:43:24 +02:00
parent 0e0363f131
commit e35fb9dc19

View File

@ -45,8 +45,8 @@ bool Command::execute(QString workingDirectory, QStringList args) {
connect(&(*p), SIGNAL(readyReadStandardOutput()), this, SLOT(readyReadStandardOutput()));
connect(&(*p), SIGNAL(readyReadStandardError()), this, SLOT(readyReadStandardError()));
qCritical() << "START COMMAND" << m_command << "WITH ARGS" << args
<< "IN" << workingDirectory;
//qCritical() << "START COMMAND" << m_command << "WITH ARGS" << args
// << "IN" << workingDirectory;
p->setWorkingDirectory(workingDirectory);
if (!args.isEmpty()) {
@ -56,14 +56,14 @@ bool Command::execute(QString workingDirectory, QStringList args) {
}
if (p->waitForStarted(m_waitForStartTimeout)) {
qDebug() << "PROCESS" << m_command << "STARTED";
//qDebug() << "PROCESS" << m_command << "STARTED";
if (p->state() == QProcess::ProcessState::Running) {
qDebug() << "PROCESS" << m_command << "RUNNING";
//qDebug() << "PROCESS" << m_command << "RUNNING";
if (p->waitForFinished(m_waitForFinishTimeout)) {
qDebug() << "PROCESS" << m_command << "FINISHED";
//qDebug() << "PROCESS" << m_command << "FINISHED";
if (p->exitStatus() == QProcess::NormalExit) {
qInfo() << "EXECUTED" << m_command
<< "with code" << p->exitCode();
//qInfo() << "EXECUTED" << m_command
// << "with code" << p->exitCode();
// qInfo() << "RESULT" << m_commandResult;
return true;
} else {