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 b7efec31d2
commit a6a4f8a705

View File

@@ -134,7 +134,8 @@ def detect_shell(args: Any) -> str:
break break
current_pid = parent_pid 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) @status_message('Detecting outdated tools in system', rv_on_ok=True)