Merge branch 'fix/flush_esptool_output' into 'master'

fix(esptool): Fix flush output while flashing

Closes ESPTOOL-1014

See merge request espressif/esp-idf!37243
This commit is contained in:
Jaroslav Burian
2025-02-27 06:34:45 +08:00

View File

@@ -1,11 +1,10 @@
# #
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD # SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
import subprocess import subprocess
import sys import sys
if __name__ == '__main__': if __name__ == '__main__':
sys.exit(subprocess.run([sys.executable, '-m', 'esptool'] + sys.argv[1:]).returncode) sys.exit(subprocess.run([sys.executable, '-u', '-m', 'esptool'] + sys.argv[1:]).returncode)