Add debug logs about installer in service
This commit is contained in:
parent
12587b44cf
commit
42e4768483
1 changed files with 2 additions and 0 deletions
|
|
@ -439,6 +439,8 @@ int IpcServer::installApp(const QString &path)
|
||||||
qDebug() << "Launching installer...";
|
qDebug() << "Launching installer...";
|
||||||
process.start("sudo", QStringList() << execPath);
|
process.start("sudo", QStringList() << execPath);
|
||||||
process.waitForFinished();
|
process.waitForFinished();
|
||||||
|
qDebug() << "Installer stdout:" << process.readAllStandardOutput();
|
||||||
|
qDebug() << "Installer stderr:" << process.readAllStandardError();
|
||||||
qDebug() << "Installer finished with exit code:" << process.exitCode();
|
qDebug() << "Installer finished with exit code:" << process.exitCode();
|
||||||
return process.exitCode();
|
return process.exitCode();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue