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
No related branches found
No related tags found
No related merge requests found
Pipeline #26197 canceled
...@@ -141,9 +141,9 @@ def run_cmdline(cmd, env=None): ...@@ -141,9 +141,9 @@ def run_cmdline(cmd, env=None):
del readable[fd] del readable[fd]
else: else:
if fd == masters[0]: # We caught stdout if fd == masters[0]: # We caught stdout
utils.echo(data.rstrip()) print(data.rstrip().decode(sys.stdout.encoding))
else: # We caught stderr else: # We caught stderr
utils.echo(data.rstrip(), err=True) print(data.rstrip().decode(sys.stderr.encoding))
readable[fd].flush() readable[fd].flush()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment