From 5a06e81a7627c4d9b568eaaf22f3dac153957e1a Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 21 Oct 2016 14:26:46 +0200 Subject: [PATCH] Changed: Open in ReadOnly the process --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index 927b7f3b2..fc6a2ff7c 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -426,7 +426,7 @@ QString getVersionFromExecutable(const QString &path) // launch executable with --version argument QProcess process; process.setProcessChannelMode(QProcess::MergedChannels); - process.start(path, QStringList() << "--version", QIODevice::ReadWrite); + process.start(path, QStringList() << "--version", QIODevice::ReadOnly); if (!process.waitForStarted()) {