master: force set_block() in tty_create_child too.

For gevent, just as in 5f7633cd56
pull/79/head
David Wilson 7 years ago
parent 5f7633cd56
commit e06111d944

@ -170,6 +170,7 @@ def tty_create_child(*args):
pid = os.fork()
if not pid:
mitogen.core.set_block(slave_fd)
os.dup2(slave_fd, 0)
os.dup2(slave_fd, 1)
os.dup2(slave_fd, 2)

Loading…
Cancel
Save