use the _correct_ argument to specify poll vs select

This commit is contained in:
Ryan Petrello 2018-05-29 11:25:08 -04:00
parent 238ffe5e7e
commit c369d44518

View File

@ -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, poll=True
encoding='utf-8', echo=False, use_poll=True
)
child.logfile_read = logfile
canceled = False