From 9c25aaa7ade62fafc5258bd9d593e375f120082f Mon Sep 17 00:00:00 2001 From: Michael Achenbach Date: Wed, 16 Feb 2022 08:29:06 +0100 Subject: [PATCH] [infra] Decode process output for Python3 This ports: https://crrev.com/c/3321055 No-Tree-Checks: true Bug: chromium:1292013 Change-Id: I2ab939c43744725885329330f52dce1ef0a48ab7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3466795 Auto-Submit: Michael Achenbach Reviewed-by: Maya Lekova Commit-Queue: Maya Lekova Cr-Commit-Position: refs/heads/main@{#79111} --- tools/mb/mb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mb/mb.py b/tools/mb/mb.py index 408e2b566a..1ba74b747b 100755 --- a/tools/mb/mb.py +++ b/tools/mb/mb.py @@ -1150,6 +1150,8 @@ class MetaBuildWrapper(object): stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) out, err = p.communicate() + out = out.decode('utf-8') + err = err.decode('utf-8') else: p = subprocess.Popen(cmd, shell=False, cwd=self.chromium_src_dir, env=env)