forked from qt-creator/qt-creator
overhaul process argument handling
get away from argument stringlists. instead, use native shell command lines which support quoting/splitting, environment variable expansion and redirections with well-understood semantics. Task-number: QTCREATORBUG-542 Task-number: QTCREATORBUG-1564
This commit is contained in:
@@ -53,7 +53,7 @@ void AbstractPlainGdbAdapter::setupInferior()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
|
||||
if (!startParameters().processArgs.isEmpty()) {
|
||||
QString args = startParameters().processArgs.join(_(" "));
|
||||
QString args = startParameters().processArgs;
|
||||
m_engine->postCommand("-exec-arguments " + toLocalEncoding(args));
|
||||
}
|
||||
m_engine->postCommand("-file-exec-and-symbols \"" + execFilePath() + '"',
|
||||
|
||||
Reference in New Issue
Block a user