fix: opencode is not on PATH on Windows (#2183)

This commit is contained in:
Adam Mansfield authored and GitHub committed 2026-04-30 18:15:45 -07:00
1 parent 4ef361da73
commit 1eb6fcea84
1 file changed
+1
@@ -334,6 +334,7 @@ const makeOpenCodeRuntime = Effect.gen(function* () {
.spawn(
ChildProcess.make(input.binaryPath, args, {
detached: process.platform !== "win32",
shell: process.platform === "win32",
env: {
...(input.environment ?? process.env),
OPENCODE_CONFIG_CONTENT: JSON.stringify({}),