Commit 156330cd authored by Joerg Bornemann's avatar Joerg Bornemann Committed by hjk
Browse files

QtcProcess: pass arguments only once to child process

When not using the ctrlc stub, then the whole arguments string was
passed to QProcess::start as one argument, prefixed to the actual

Task-number: QTCREATORBUG-11514

Change-Id: I8111749b5c2f0a0abbfa3e9f8441bb5cdcfe0531
Reviewed-by: default avatarOrgad Shaneh <>
Reviewed-by: default avatarhjk <>
parent 2ec277bc
......@@ -706,6 +706,8 @@ void QtcProcess::start()
if (m_useCtrlCStub) {
args = QDir::toNativeSeparators(command);
command = QCoreApplication::applicationDirPath() + QLatin1String("/qtcreator_ctrlc_stub.exe");
} else {
QProcess::start(command, QStringList(args));
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment