mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
use the _correct_ argument to specify poll vs select
This commit is contained in:
@@ -101,7 +101,7 @@ def run_pexpect(args, cwd, env, logfile,
|
|||||||
|
|
||||||
child = pexpect.spawn(
|
child = pexpect.spawn(
|
||||||
args[0], args[1:], cwd=cwd, env=env, ignore_sighup=True,
|
args[0], args[1:], cwd=cwd, env=env, ignore_sighup=True,
|
||||||
encoding='utf-8', echo=False, poll=True
|
encoding='utf-8', echo=False, use_poll=True
|
||||||
)
|
)
|
||||||
child.logfile_read = logfile
|
child.logfile_read = logfile
|
||||||
canceled = False
|
canceled = False
|
||||||
|
|||||||
Reference in New Issue
Block a user