Repository navigation
Commit 71a7b73
committed
fix: resolve Windows spawn ENOENT error in SDK
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#28121 parent 3d332a0 commit 71a7b73
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments