Changed: Open in ReadOnly the process

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 41fa1a938e
commit 7ad0b610ba

@ -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())
{

Loading…
Cancel
Save