Skip to content

fix(electron): prefer PowerShell 7 on Windows - #129

Open
givemeurhats wants to merge 1 commit into
AgentSystemLabs:mainfrom
givemeurhats:main
Open

fix(electron): prefer PowerShell 7 on Windows#129
givemeurhats wants to merge 1 commit into
AgentSystemLabs:mainfrom
givemeurhats:main

Conversation

@givemeurhats

Copy link
Copy Markdown

Summary

  • prefer PowerShell 7 (pwsh) when available on the Windows PATH
  • fall back to Windows PowerShell (powershell.exe)
  • avoid recursive environment resolution while selecting the shell
  • add cross-platform regression tests for both Windows cases

Testing

  • pnpm exec vitest run src/server/__tests__/shell-env.test.ts

@superjodash

Copy link
Copy Markdown

+1

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.

2 participants