Skip to content

fix: detect windows shell from env#162

Open
duyua9 wants to merge 1 commit intoBuilderIO:mainfrom
duyua9:fix/windows-shell-detection
Open

fix: detect windows shell from env#162
duyua9 wants to merge 1 commit intoBuilderIO:mainfrom
duyua9:fix/windows-shell-detection

Conversation

@duyua9
Copy link
Copy Markdown

@duyua9 duyua9 commented Apr 17, 2026

Summary

  • detect Windows shells from SHELL and ComSpec before falling back to PowerShell
  • keep cmd, powershell, and pwsh distinct when ComSpec is available
  • add focused regression coverage for Git Bash, cmd, and pwsh detection

Tests

  • not rerun in this cleanup pass; this PR includes focused regression tests for the changed helper

Note

I closed #159 because it covered the same Windows shell detection topic without the focused regression tests. This PR is the single reviewer-facing version.

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.

1 participant