diff options
| author | hjk <hjk@qt.io> | 2019-06-05 15:35:15 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2019-06-06 12:22:47 +0000 |
| commit | 611e1ea837c7589ee4467f4c3c0416b8793f9fc7 (patch) | |
| tree | d5cc5b793d83aa7cb3ce2f96d39bdde2567587ef /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
| parent | 27dee4dc5c221ea9006514515acd3239efc36bf1 (diff) | |
| download | qt-creator-611e1ea837c7589ee4467f4c3c0416b8793f9fc7.tar.gz | |
Utils: Encourage marking of raw command line parameters
Change-Id: Id66ac07732c66ab8c1232fe1f58042de8a61abb0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
| -rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index d07c68cd9a..9a494b47b0 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -299,9 +299,8 @@ void PythonRunConfiguration::updateTargetInformation() Runnable PythonRunConfiguration::runnable() const { - CommandLine cmd{executable(), {}}; - cmd.addArg(mainScript()); - cmd.addArgs(aspect<ArgumentsAspect>()->arguments(macroExpander())); + CommandLine cmd{executable(), {mainScript()}}; + cmd.addArgs(aspect<ArgumentsAspect>()->arguments(macroExpander()), CommandLine::Raw); Runnable r; r.setCommandLine(cmd); |
