diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index 01c415c1790ac0e064d2c0a03802a254876a2ad7..614a443854836b8dfb38e4ddfe5dc6a3b441fbc2 100644 --- a/bob/devtools/bootstrap.py +++ b/bob/devtools/bootstrap.py @@ -141,9 +141,9 @@ def run_cmdline(cmd, env=None): del readable[fd] else: if fd == masters[0]: # We caught stdout - utils.echo(data.rstrip()) + print(data.rstrip().decode(sys.stdout.encoding)) else: # We caught stderr - utils.echo(data.rstrip(), err=True) + print(data.rstrip().decode(sys.stderr.encoding)) readable[fd].flush()