From b6d0e793f6753ca2027b1b93e8592ee2f3b2d89b Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 11 May 2022 10:45:29 +0100 Subject: [PATCH] avoid self._errpipe_write double close 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 261aa1f5..799e2957 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()