Changed: Open in ReadOnly the process
--HG-- branch : develop
This commit is contained in:
parent
41fa1a938e
commit
7ad0b610ba
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ QString getVersionFromExecutable(const QString &path)
|
||||||
// launch executable with --version argument
|
// launch executable with --version argument
|
||||||
QProcess process;
|
QProcess process;
|
||||||
process.setProcessChannelMode(QProcess::MergedChannels);
|
process.setProcessChannelMode(QProcess::MergedChannels);
|
||||||
process.start(path, QStringList() << "--version", QIODevice::ReadWrite);
|
process.start(path, QStringList() << "--version", QIODevice::ReadOnly);
|
||||||
|
|
||||||
if (!process.waitForStarted())
|
if (!process.waitForStarted())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue