Skip to content
Snippets Groups Projects
Commit 71cd821d authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[bootstrap] Fix printing problems

parent 670d227c
Branches
Tags
No related merge requests found
Pipeline #26197 canceled
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment