Skip to content

Commit

Permalink
Update uvloop/handles/process.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Jul 20, 2022
1 parent f4f57f6 commit d5fe279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uvloop/handles/process.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ cdef class UVProcess(UVHandle):
fds_to_close = self._fds_to_close
self._fds_to_close = None
fds_to_close.append(self._errpipe_read)
# add the write pipe last so we can close it early
fds_to_close.append(self._errpipe_write)
try:
os_set_inheritable(self._errpipe_write, True)
Expand Down

0 comments on commit d5fe279

Please sign in to comment.