opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: resolve Windows spawn ENOENT error in SDK

Open alanjaouen opened this issue 4 months ago • 1 comments

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

alanjaouen avatar Sep 26 '25 21:09 alanjaouen

https://github.com/sst/opencode/issues/2812#issuecomment-3563882250

cspotcode avatar Nov 21 '25 16:11 cspotcode