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:
@@ -137,7 +137,7 @@ void MaemoRunConfigurationWidget::addGenericWidgets(QVBoxLayout *mainLayout)
|
||||
formLayout->addRow(tr("Executable on host:"), m_localExecutableLabel);
|
||||
m_remoteExecutableLabel = new QLabel;
|
||||
formLayout->addRow(tr("Executable on device:"), m_remoteExecutableLabel);
|
||||
m_argsLineEdit = new QLineEdit(m_runConfiguration->arguments().join(" "));
|
||||
m_argsLineEdit = new QLineEdit(m_runConfiguration->arguments());
|
||||
formLayout->addRow(tr("Arguments:"), m_argsLineEdit);
|
||||
|
||||
QHBoxLayout * const debugButtonsLayout = new QHBoxLayout;
|
||||
@@ -293,7 +293,7 @@ void MaemoRunConfigurationWidget::addEnvironmentWidgets(QVBoxLayout *mainLayout)
|
||||
|
||||
void MaemoRunConfigurationWidget::argumentsEdited(const QString &text)
|
||||
{
|
||||
m_runConfiguration->setArguments(text.split(' ', QString::SkipEmptyParts));
|
||||
m_runConfiguration->setArguments(text);
|
||||
}
|
||||
|
||||
void MaemoRunConfigurationWidget::updateTargetInformation()
|
||||
|
||||
Reference in New Issue
Block a user