Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: opencode is not on PATH on Windows #2183

Mergedadammansfield(GitHub profile, opens in a new tab)merged 6 commits intomain fromrefs/pull/2183/headmerged by juliusmarminge View on GitHub

Showing 1 changed file with 1 addition and 0 deletions.

x
0 of 1 viewed, 1 left
1 addition and 0 deletionsapps/server/src/provider/opencodeRuntime.tsModified
View file
@@ -334,6 +334,7 @@
.spawn(
ChildProcess.make(input.binaryPath, args, {
detached: process.platform !== "win32",
+ shell: process.platform === "win32",
env: {
...(input.environment ?? process.env),
OPENCODE_CONFIG_CONTENT: JSON.stringify({}),