feat(tools): Normalized detected shell names to lowercase on Windows

Closes https://github.com/espressif/esp-idf/issues/16868
This commit is contained in:
Marek Fiala
2025-07-15 14:33:46 +02:00
parent 5920a073a8
commit 576ccaf394

View File

@@ -134,7 +134,8 @@ def detect_shell(args: Any) -> str:
break
current_pid = parent_pid
return detected_shell_name
# On Windows shell names are case-insensitive, but ESP-IDF defines them in lowercase
return detected_shell_name.lower() if sys.platform == 'win32' else detected_shell_name
@status_message('Detecting outdated tools in system', rv_on_ok=True)