diff --git a/packages/coding-agent/src/ipy/gateway-coordinator.ts b/packages/coding-agent/src/ipy/gateway-coordinator.ts index ef10a54bc..86f4b8fdb 100644 --- a/packages/coding-agent/src/ipy/gateway-coordinator.ts +++ b/packages/coding-agent/src/ipy/gateway-coordinator.ts @@ -251,7 +251,7 @@ async function startGatewayProcess( const gatewayProcess = Bun.spawn( [ - runtime.pythonwPath, + runtime.pythonPath, "-m", "kernel_gateway", "--KernelGatewayApp.ip=127.0.0.1", diff --git a/packages/coding-agent/src/ipy/runtime.ts b/packages/coding-agent/src/ipy/runtime.ts index 08503bc3f..a7c580a75 100644 --- a/packages/coding-agent/src/ipy/runtime.ts +++ b/packages/coding-agent/src/ipy/runtime.ts @@ -104,8 +104,6 @@ function resolvePathKey(env: Record): string { export interface PythonRuntime { /** Path to python executable */ pythonPath: string; - /** Path to windowless python executable (pythonw.exe on Windows, same as pythonPath otherwise) */ - pythonwPath: string; /** Filtered environment variables */ env: Record; /** Path to virtual environment, if detected */ @@ -177,8 +175,7 @@ export function resolvePythonRuntime(cwd: string, baseEnv: Record