[PR #8768] fix(windows):Fixed bash, cmd, powershell, etc routing #12864

Open
opened 2026-02-16 18:17:45 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8768

State: open
Merged: No


What does this PR do?

Fixes #6488
Fixes very many issues for windows users with how it uses shells.
no cross-shell translation logic; just clean cross-platform compatible shell routing

How did you verify your code works?

Used test scripts in building to verify probably 200+ commands
Verified in app along the way with a suite of commands
% pass on my in-app test suite of 140 commands pre-fix: ~40%
% pass on my in-app test suite of 140 commands post-fix: ~100%

Merged latest stable release 1.1.23 in.
Cleaned repo.
Cleaned related dead code - get_user_shell is now redundant with my upgrades.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8768 **State:** open **Merged:** No --- ### What does this PR do? Fixes #6488 Fixes very many issues for windows users with how it uses shells. no cross-shell translation logic; just clean cross-platform compatible shell routing ### How did you verify your code works? Used test scripts in building to verify probably 200+ commands Verified in app along the way with a suite of commands % pass on my in-app test suite of 140 commands pre-fix: ~40% % pass on my in-app test suite of 140 commands post-fix: ~100% Merged latest stable release 1.1.23 in. Cleaned repo. Cleaned related dead code - get_user_shell is now redundant with my upgrades.
yindo added the pull-request label 2026-02-16 18:17:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12864