mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bf1a487b73
The ticket below reports some very strange behaviour, where even a simple command like the following python3 -c "import subprocess; subprocess.run([''])" actually spawns some process and pass instead of raising PermissionError. Even though the problem is most probably somewhere else, not in idf_tools, we may just return early if there is no command available for get_version(). Closes https://github.com/espressif/esp-idf/issues/11880 Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>