[PATCH 5 of 6] Add inactive debug code for update installation

Wald Commits scm-commit at wald.intevation.org
Fri Sep 26 15:26:24 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1411730927 -7200
# Node ID 82792b3a16bd1ac4656bf7505b5c1ecb53454baa
# Parent  f1e461340ede7d7620511a370d4fa1c29a13983b
Add inactive debug code for update installation

diff -r f1e461340ede -r 82792b3a16bd ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Fri Sep 26 13:18:46 2014 +0200
+++ b/ui/mainwindow.cpp	Fri Sep 26 13:28:47 2014 +0200
@@ -438,6 +438,11 @@
         sudoParams << parameters;
         updaterProcess->setArguments(sudoParams);
 
+#if 0
+        updaterProcess->setStandardErrorFile("/tmp/tb-inst-err.log");
+        updaterProcess->setStandardOutputFile("/tmp/tb-inst-out.log");
+#endif
+
         foreach (const QString &sProg, sudoPrograms) {
             qDebug() << "Starting process " << sProg <<" params: " << sudoParams;
             updaterProcess->setProgram(sProg);


More information about the Trustbridge-commits mailing list