Merge branch 'bugfix/make_to_cmake_msys_py3_v4.0' into 'release/v4.0'

tools: Make Unicode from subprocess result in the CMake convert script (v4.0)

See merge request espressif/esp-idf!8544
This commit is contained in:
Angus Gratton 2020-05-27 07:49:34 +08:00
commit fa527dc6b3

View file

@ -122,7 +122,7 @@ def convert_project(project_path):
for p in component_paths:
if "MSYSTEM" in os.environ:
cmd = ["cygpath", "-w", p]
p = subprocess.check_output(cmd).strip()
p = subprocess.check_output(cmd).decode('utf-8').strip()
converted_components += convert_component(project_path, p)