Commit 71cd821d authored by André Anjos's avatar André Anjos 💬

[bootstrap] Fix printing problems

parent 670d227c
Pipeline #26197 canceled with stages
in 2 minutes and 27 seconds
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment