[PR #3464] Fix: run was hardcoded to linux shell #10658

Closed
opened 2026-02-16 18:15:23 -05:00 by yindo · 0 comments
Owner

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

State: closed
Merged: No


Running bun x opencode@opentui was giving error: interpreter executable "/bin/sh" not found in %PATH% when running bun x opencode-ai@opentui

The package.json bin was hardcoded to the linux ./bin/opencode
This puts a shim in place to figure out whether to execute ./bin/opencode or ./bin/opencode.cmd

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3464 **State:** closed **Merged:** No --- Running `bun x opencode@opentui` was giving `error: interpreter executable "/bin/sh" not found in %PATH%` when running `bun x opencode-ai@opentui` The package.json bin was hardcoded to the linux `./bin/opencode` This puts a shim in place to figure out whether to execute `./bin/opencode` or `./bin/opencode.cmd`
yindo added the pull-request label 2026-02-16 18:15:23 -05:00
yindo closed this issue 2026-02-16 18:15:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10658