From 72140d7e5c18a8e2a3ae8d207bc21acb9707b0fd Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sun, 17 Jul 2022 16:22:14 +0100 Subject: [PATCH] Avoid self._errpipe_write double close (#466) Fixes #414 --- uvloop/handles/process.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/uvloop/handles/process.pyx b/uvloop/handles/process.pyx index 261aa1f..799e295 100644 --- a/uvloop/handles/process.pyx +++ b/uvloop/handles/process.pyx @@ -101,6 +101,7 @@ cdef class UVProcess(UVHandle): self._finish_init() os_close(self._errpipe_write) + self._errpipe_write = -1 if preexec_fn is not None: errpipe_data = bytearray()