Commit d9a5c62
fix: enable shell mode for ACP agent spawn on Windows
On Windows, `npx` is a `.cmd` batch wrapper. Node's `spawn()` doesn't
resolve `.cmd` extensions, causing ENOENT even when npx is on PATH.
Adding `shell: true` on win32 lets cmd.exe handle the resolution.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 11b3b01 commit d9a5c62
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments