mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Fix AC-699 by using the spawnu interface on pexpect3 and making sure we use the right encoding on passwords passed to the cipher
This commit is contained in:
@@ -184,7 +184,7 @@ class BaseTask(Task):
|
||||
status, stdout = 'error', ''
|
||||
logfile = task_stdout_handle
|
||||
logfile_pos = logfile.tell()
|
||||
child = pexpect.spawn(args[0], args[1:], cwd=cwd, env=env)
|
||||
child = pexpect.spawnu(args[0], args[1:], cwd=cwd, env=env)
|
||||
child.logfile_read = logfile
|
||||
canceled = False
|
||||
last_stdout_update = time.time()
|
||||
|
||||
Reference in New Issue
Block a user