Frantisek Hrbata bf1a487b73 fix(idf_tools): execution of empty command in get_version()
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>
2023-07-24 16:19:30 +02:00
..
2022-08-01 15:52:21 +08:00
2023-07-10 17:46:59 +08:00
2022-05-19 11:10:59 +08:00
2023-07-12 13:23:06 +00:00
2023-05-04 13:47:05 +02:00