Index: tools/testrunner/local/commands.py |
diff --git a/tools/testrunner/local/commands.py b/tools/testrunner/local/commands.py |
index e725d112f9559348581a5a6494fa9c9ea9fd221a..a9315cb78ce53cf320b1399ac073c33098e8df94 100644 |
--- a/tools/testrunner/local/commands.py |
+++ b/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, |
) |