mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
use select.poll() instead of select.select() for file descriptors
see: https://github.com/ansible/tower/issues/861 see: https://github.com/pexpect/pexpect/pull/474
This commit is contained in:
@@ -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,
|
||||
encoding='utf-8', echo=False, use_poll=True
|
||||
)
|
||||
child.logfile_read = logfile
|
||||
canceled = False
|
||||
|
||||
Reference in New Issue
Block a user