forked from qt-creator/qt-creator
LLDB: Quote environment variable assignment.
Change-Id: Ie93d251ba120fd33ab3ab12e243ff1e1818ba46b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -298,7 +298,7 @@ void LldbEngine::setupInferior()
|
|||||||
if (item.unset)
|
if (item.unset)
|
||||||
cmd.arg("command", "settings remove target.env-vars " + item.name.toUtf8());
|
cmd.arg("command", "settings remove target.env-vars " + item.name.toUtf8());
|
||||||
else
|
else
|
||||||
cmd.arg("command", "settings set target.env-vars " + item.name.toUtf8() + '=' + item.value.toUtf8());
|
cmd.arg("command", "settings set target.env-vars '" + item.name.toUtf8() + '=' + item.value.toUtf8() + '\'');
|
||||||
runCommand(cmd);
|
runCommand(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user