From 1a42356f688dc84a03160f4d883b1c2cbce4e484 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Sep 2017 10:10:24 +0530 Subject: [PATCH] Forgot to close stdin_read_fd in the master process --- kitty/child.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/child.py b/kitty/child.py index 4ac316b7f..a55e5e8ee 100644 --- a/kitty/child.py +++ b/kitty/child.py @@ -73,5 +73,6 @@ class Child: self.pid = pid self.child_fd = master if stdin is not None: + os.close(stdin_read_fd) fast_data_types.thread_write(stdin_write_fd, stdin) return pid