Bladeren bron

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

Fixes the issue that there is no output from 'idf_tools.py install'
stage.
Ivan Grokhotkov 6 jaren geleden
bovenliggende
commit
24e793baa3
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      tools/windows/tool_setup/idf_setup.iss.inc

+ 2 - 0
tools/windows/tool_setup/idf_setup.iss.inc

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