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

Fixes the issue that there is no output from 'idf_tools.py install'
stage.
This commit is contained in:
Ivan Grokhotkov 2020-02-11 18:56:18 +01:00
parent 972aeec265
commit 24e793baa3

View file

@ -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);