Skip to content

fix(windows): improve shell detection logic - #339

Open
mlaadd wants to merge 1 commit into
jeanp413:masterfrom
mlaadd:master
Open

fix(windows): improve shell detection logic#339
mlaadd wants to merge 1 commit into
jeanp413:masterfrom
mlaadd:master

Conversation

@mlaadd

@mlaadd mlaadd commented Aug 26, 2026

Copy link
Copy Markdown

Fixes #235

The previous shell detection logic depended on an English-localized version of Windows when cmd was used as the login shell.

This implementation checks shell expansion variables instead of relying on error messages.

Confirmed working on:

OS Locale Login Shell
Linux - bash
Windows German cmd
Windows German PowerShell

@daiyam daiyam added this to the N+1 milestone Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Platform Detection Fails for Windows Remote Hosts with Non-English CMD default Environments

2 participants