Fix Docker path quoting and VSCode terminal env

This commit is contained in:
2026-05-03 17:25:16 +09:00
parent aa14ebc447
commit 74715c0546
3 changed files with 7 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ async function run(command: string, args: string[], stdio: "ignore" | "inherit"
const child = spawn(command, args, {
stdio: ["ignore", stdio, "inherit"],
windowsHide: true,
shell: process.platform === "win32",
shell: process.platform === "win32" && !path.isAbsolute(command),
});
child.on("error", (error) => {

View File

@@ -14,7 +14,7 @@ async function run(command: string, args: string[], cwd = process.cwd()): Promis
cwd,
stdio: "inherit",
windowsHide: true,
shell: process.platform === "win32",
shell: process.platform === "win32" && !path.isAbsolute(command),
});
child.on("error", (error) => {