Fix Python command resolution
This commit is contained in:
@@ -38,7 +38,11 @@ export async function resolveBasePythonCommand(config: AppConfig): Promise<{ com
|
|||||||
return { command: venvPath, args: [] };
|
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[] }> {
|
export async function resolveWorkerPythonCommand(config: AppConfig): Promise<{ command: string; args: string[] }> {
|
||||||
|
|||||||
Reference in New Issue
Block a user