master: force set_block() in tty_create_child too.
For gevent, just as in 5f7633cd56
This commit is contained in:
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…
Reference in New Issue