We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce3a2b commit 1bf1919Copy full SHA for 1bf1919
1 file changed
lib/pexpect_utils.py
@@ -22,7 +22,8 @@ def __init__(self):
22
def spawn(self, *args, **kwargs):
23
logging.debug("Spawning '%s'" % args)
24
quiet = kwargs.pop('quiet', False)
25
- self.child = pexpect.spawn(*args, encoding='utf-8', echo=False, **kwargs)
+ self.child = pexpect.spawn(*args, encoding='utf-8', codec_errors='replace',
26
+ echo=False, **kwargs)
27
if not quiet:
28
self.log_to(sys.stdout)
29
0 commit comments