From af4ab228dc7aa1a16ed5a15c768433965c86ae00 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Sat, 9 Jul 2016 12:27:53 -0400 Subject: [PATCH] Don't set FD_CLOEXEC on stdio/stdin/stderr etc. Fixes issue #40. --- uvloop/includes/uv.pxd | 2 -- uvloop/loop.pyx | 2 -- 2 files changed, 4 deletions(-) diff --git a/uvloop/includes/uv.pxd b/uvloop/includes/uv.pxd index 251509e..95b801d 100644 --- a/uvloop/includes/uv.pxd +++ b/uvloop/includes/uv.pxd @@ -472,5 +472,3 @@ cdef extern from "uv.h" nogil: const uv_process_options_t* options) int uv_process_kill(uv_process_t* handle, int signum) - - void uv_disable_stdio_inheritance() diff --git a/uvloop/loop.pyx b/uvloop/loop.pyx index 49220a4..427e23f 100644 --- a/uvloop/loop.pyx +++ b/uvloop/loop.pyx @@ -168,8 +168,6 @@ cdef class Loop: self, "loop._exec_queued_writes", self._exec_queued_writes, self)) - uv.uv_disable_stdio_inheritance() - self._coroutine_wrapper_set = False def __init__(self):