Bug 1696541 - collect xres again after python3 conversion. r=ahal,perftest-reviewers,sparky

Differential Revision: https://phabricator.services.mozilla.com/D113786
This commit is contained in:
Joel Maher 2021-05-04 15:02:12 +00:00
Родитель 50fe06fce0
Коммит 2262117921
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -38,7 +38,9 @@ def xrestop(binary="xrestop"):
args = ["-m", "1", "-b"]
command = [binary] + args
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
process = subprocess.Popen(
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True
)
stdout, stderr = process.communicate()
if process.returncode:
raise Exception(