Skip to content

Conversation

@alanjaouen
Copy link

Adds shell: true to spawn calls in createOpencodeServer and createOpencodeTui functions. This allows Node.js to properly resolve opencode executable on Windows while maintaining Unix compatibility. Fixes #2812

Add shell: true option to spawn calls in createOpencodeServer and createOpencodeTui.
This allows Node.js to properly resolve opencode executable on Windows while
maintaining compatibility with Unix-like systems.

Fixes anomalyco#2812
@cspotcode
Copy link

#2812 (comment)

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 spawn ENOENT error in OpenCode SDK

2 participants