fix: respect SHELL on Windows for Git Bash (#178)
This commit is contained in:
parent
594fd1e8da
commit
f17e7f8486
@ -190,7 +190,7 @@ class SpawnedCodexAppServerClient extends AppServerClientBase {
|
|||||||
cwd: this.cwd,
|
cwd: this.cwd,
|
||||||
env: this.options.env,
|
env: this.options.env,
|
||||||
stdio: ["pipe", "pipe", "pipe"],
|
stdio: ["pipe", "pipe", "pipe"],
|
||||||
shell: process.platform === "win32",
|
shell: process.platform === "win32" ? (process.env.SHELL || true) : false,
|
||||||
windowsHide: true
|
windowsHide: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export function runCommand(command, args = [], options = {}) {
|
|||||||
encoding: "utf8",
|
encoding: "utf8",
|
||||||
input: options.input,
|
input: options.input,
|
||||||
stdio: options.stdio ?? "pipe",
|
stdio: options.stdio ?? "pipe",
|
||||||
shell: process.platform === "win32",
|
shell: process.platform === "win32" ? (process.env.SHELL || true) : false,
|
||||||
windowsHide: true
|
windowsHide: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user