Skip to content

Detect Windows shell from environment#159

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

Detect Windows shell from environment#159
duyua9 wants to merge 1 commit intoBuilderIO:mainfrom
duyua9:fix-windows-shell-detection

Conversation

@duyua9
Copy link
Copy Markdown

@duyua9 duyua9 commented Apr 16, 2026

Summary

  • detect Git Bash or other SHELL values on Windows before falling back
  • use ComSpec to distinguish cmd and PowerShell when SHELL is not set
  • keep the existing PowerShell fallback when no shell environment is available

Tests

  • npm run typecheck
  • git diff --check

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