Forgot to close stdin_read_fd in the master process

This commit is contained in:
Kovid Goyal
2017-09-15 10:45:14 +05:30
parent 1197549e5b
commit 1a42356f68
+1
View File
@@ -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