tools: installer: add PYTHONUNBUFFERED=1 when calling idf_tools.py

Fixes the issue that there is no output from 'idf_tools.py install'
stage.
pull/4752/head
Ivan Grokhotkov 2020-02-11 18:56:18 +01:00
rodzic 972aeec265
commit 24e793baa3
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -236,6 +236,8 @@ begin
{ IDFPath not quoted, as it can not contain spaces }
IDFToolsPyCmd := PythonExecutablePath + ' "' + IDFToolsPyCmd + '" --idf-path ' + IDFPath + JSONArg;
SetEnvironmentVariable('PYTHONUNBUFFERED', '1')
Log('idf_tools.py command: ' + IDFToolsPyCmd);
CmdLine := IDFToolsPyCmd + ' install';
Log('Installing tools:' + CmdLine);