mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
feat(tools): Normalized detected shell names to lowercase on Windows
Closes https://github.com/espressif/esp-idf/issues/16868
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user