From 3ccc10c706fa48e3dcc44ca92b934d33fc492f74 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Sat, 2 May 2026 20:40:17 +0900 Subject: [PATCH] Fix Python command resolution --- src/python-runtime.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/python-runtime.ts b/src/python-runtime.ts index 9ddfbe1..266be2e 100644 --- a/src/python-runtime.ts +++ b/src/python-runtime.ts @@ -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[] }> {