From 71cd821ddc65c94fa0f9a5d7cbea2847ecaaf3f2 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Mon, 21 Jan 2019 18:25:05 +0100 Subject: [PATCH] [bootstrap] Fix printing problems --- bob/devtools/bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index 01c415c1..614a4438 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() -- GitLab