зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
50fe06fce0
Коммит
2262117921
|
@ -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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче