Fix Windows Python spawning

This commit is contained in:
2026-04-30 03:43:17 +09:00
parent bb965c061e
commit 178283be61
5 changed files with 11 additions and 5 deletions

View File

@@ -111,6 +111,7 @@ export class PythonJsonWorker {
const child = spawn(launch.command, [...launch.args, scriptPath], {
stdio: ["pipe", "pipe", "pipe"],
shell: process.platform === "win32",
env: {
...process.env,
HF_HOME: cachePath,