forked from qt-creator/qt-creator
Utils: use cleaned stdout all over the place again
Amends 5ee880ce5e
Change-Id: Ie0202db7d8455372c3697087d9571db6706b45a1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -78,7 +78,7 @@ static Interpreter createInterpreter(const FilePath &python,
|
||||
pythonProcess.setCommand({python, {"--version"}});
|
||||
pythonProcess.runBlocking();
|
||||
if (pythonProcess.result() == ProcessResult::FinishedWithSuccess)
|
||||
result.name = pythonProcess.stdOut().trimmed();
|
||||
result.name = pythonProcess.cleanedStdOut().trimmed();
|
||||
if (result.name.isEmpty())
|
||||
result.name = defaultName;
|
||||
if (windowedSuffix)
|
||||
|
||||
Reference in New Issue
Block a user