fix: opencode is not on PATH on Windows (#2183)
This commit is contained in:
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({}),
|
||||
|
||||
Reference in new issue
Block a user