From 24e793baa3cecf33d1fbba5c61bbb7eda5197c3b Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 11 Feb 2020 18:56:18 +0100 Subject: [PATCH] tools: installer: add PYTHONUNBUFFERED=1 when calling idf_tools.py Fixes the issue that there is no output from 'idf_tools.py install' stage. --- tools/windows/tool_setup/idf_setup.iss.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/windows/tool_setup/idf_setup.iss.inc b/tools/windows/tool_setup/idf_setup.iss.inc index 7ae7cc1f23..6b6e49c540 100644 --- a/tools/windows/tool_setup/idf_setup.iss.inc +++ b/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);