Fix Python command resolution

This commit is contained in:
2026-05-02 20:40:17 +09:00
parent d7d1d21240
commit 3ccc10c706

View File

@@ -38,7 +38,11 @@ export async function resolveBasePythonCommand(config: AppConfig): Promise<{ com
return { command: venvPath, args: [] };
}
return await resolveBasePythonCommand(config);
if (process.platform === "win32") {
return { command: "python", args: [] };
}
return { command: "python3", args: [] };
}
export async function resolveWorkerPythonCommand(config: AppConfig): Promise<{ command: string; args: string[] }> {