summaryrefslogtreecommitdiff
path: root/deps/v8/tools/testrunner/local/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/testrunner/local/commands.py')
-rw-r--r--deps/v8/tools/testrunner/local/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/tools/testrunner/local/commands.py b/deps/v8/tools/testrunner/local/commands.py
index e725d112f9..a9315cb78c 100644
--- a/deps/v8/tools/testrunner/local/commands.py
+++ b/deps/v8/tools/testrunner/local/commands.py
@@ -111,8 +111,8 @@ def RunProcess(verbose, timeout, args, **rest):
return output.Output(
process.returncode,
timeout_result[0],
- stdout,
- stderr,
+ stdout.decode('utf-8', 'replace').encode('utf-8'),
+ stderr.decode('utf-8', 'replace').encode('utf-8'),
process.pid,
)