Fix Windows Python spawning
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user