mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
revert expect(use_poll=True) due to a bug that causes os.read()
hangs
There's a bug in the implementation in pexpect: pexpect/pexpect#491 Issues that could be related to this: ansible/awx#1870 ansible/awx#1840 Rolling this back will cause #861 to no longer be "fixed". We'll have to solve it another way, or wait for pexpect to fix the poll bug.
This commit is contained in:
parent
d7cdfdca2a
commit
d493a4e0d0
@ -101,7 +101,7 @@ def run_pexpect(args, cwd, env, logfile,
|
||||
|
||||
child = pexpect.spawn(
|
||||
args[0], args[1:], cwd=cwd, env=env, ignore_sighup=True,
|
||||
encoding='utf-8', echo=False, use_poll=True
|
||||
encoding='utf-8', echo=False
|
||||
)
|
||||
child.logfile_read = logfile
|
||||
canceled = False
|
||||
|
Loading…
Reference in New Issue
Block a user