Merge branch 'bugfix/make_to_cmake_msys_py3_v3.3' into 'release/v3.3'

tools: Make Unicode from subprocess result in the CMake convert script (v3.3)

See merge request espressif/esp-idf!8545
This commit is contained in:
Angus Gratton 2020-04-29 13:44:34 +08:00
commit f19ecd5b88

View file

@ -120,7 +120,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()
convert_component(project_path, p)