diff --git a/packages/code-runtime/code-runtime-python/src/index.ts b/packages/code-runtime/code-runtime-python/src/index.ts index dc56a8bb0e..da9be817f9 100644 --- a/packages/code-runtime/code-runtime-python/src/index.ts +++ b/packages/code-runtime/code-runtime-python/src/index.ts @@ -995,6 +995,7 @@ export class PythonCodeRuntime extends CodeRuntime { // inheriting fd 0 would keep the host process from exiting even after the // closeDeadline forced settlement. The child (and any descendant) reads // EOF on fd 0 instead, and no host handle survives. + // oxlint-disable-next-line typescript/no-unnecessary-condition -- the boot-write-failure fake child has no stdin. child.stdin?.destroy() } catch (error: unknown) { try {