diff options
author | 2020-05-04 16:50:25 +1000 | |
---|---|---|
committer | 2020-05-04 16:50:25 +1000 | |
commit | 2d972c91622ad7913f2d8a50feaac58b66c69eb4 (patch) | |
tree | 2b99935504dfdb9299c57ad3e19497fc59af21fc /infra/utils.py | |
parent | 40c64add9414bf55059247d98432d289291f95da (diff) |
Add a better check for crash during bisection. (#3758)
Diffstat (limited to 'infra/utils.py')
-rw-r--r-- | infra/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/utils.py b/infra/utils.py index fa5aed20..17cc2379 100644 --- a/infra/utils.py +++ b/infra/utils.py @@ -55,8 +55,8 @@ def execute(command, location=None, check_result=False): stderr=subprocess.PIPE, cwd=location) out, err = process.communicate() - out = out.decode('ascii') - err = err.decode('ascii') + out = out.decode('utf-8', errors='ignore') + err = err.decode('utf-8', errors='ignore') if err: logging.debug('Stderr of command \'%s\' is %s.', ' '.join(command), err) if check_result and process.returncode: |