Skip to content

Fix Windows terminal shell and Python resolution - #196

Open
luckeyfaraday wants to merge 1 commit into
mainfrom
fix-windows-terminal-environment-v2
Open

Fix Windows terminal shell and Python resolution#196
luckeyfaraday wants to merge 1 commit into
mainfrom
fix-windows-terminal-environment-v2

Conversation

@luckeyfaraday

Copy link
Copy Markdown
Owner

Summary

  • prefer PowerShell 7 (pwsh.exe) for Windows panes, with Windows PowerShell fallback
  • use the same resolver for embedded shells, agent panes, and the dedicated Codex terminal
  • remove inherited Python virtual-environment state from terminal processes
  • put CONTEXT_WORKSPACE_PYTHON first on PATH so Athena's configured interpreter wins
  • add regression coverage for shell fallback and Python environment resolution

Verification

  • based on current main / Athena 0.1.12
  • npm run test:electron (231 tests: 226 passed, 5 platform skips, 0 failures)
  • git diff --check

Closes #194

Supersedes closed PR #195, which was mistakenly prepared from a stale checkout.

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.

Windows: embedded terminals use different shells and inherit conflicting tool versions/Python environments

1 participant