From d1c8279871c8b9449c890b9f62804ebf47bd2e0f Mon Sep 17 00:00:00 2001 From: v322v322 Date: Mon, 22 Aug 2016 23:25:30 -0500 Subject: [PATCH] Made the Doom subprocess forward its standard output and standard error to the parent rocketlauncher2 process so that error messages from the Doom process will not be lost. This is especially helpful when dealing with potentially buggy mods. --- rocketlauncher2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rocketlauncher2.cpp b/rocketlauncher2.cpp index 2fa0e62..1cf6c41 100644 --- a/rocketlauncher2.cpp +++ b/rocketlauncher2.cpp @@ -439,6 +439,7 @@ void RocketLauncher2::on_pushButton_3_clicked() //RUN QFileInfo engineDir(enginefile); QDir::setCurrent(engineDir.absolutePath()); process = new QProcess(); + process->setProcessChannelMode(QProcess::ForwardedChannels); try {