Merge branch 'bugfix/make_to_cmake_msys_py3' into 'master'

tools: Make Unicode from subprocess result in the CMake convert script

Closes IDFGH-3180

See merge request espressif/esp-idf!8524
This commit is contained in:
Ivan Grokhotkov 2020-04-28 21:17:25 +08:00
commit e5ad3849a3

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)