[test] Minor

This commit is contained in:
Behdad Esfahbod 2018-01-10 02:37:39 +01:00
parent 5f94b4cc39
commit 7020130665
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ def cmd(command):
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p.wait ()
print (p.stderr.read (), file=sys.stderr, end='')
return p.stdout.read ().decode ("utf-8"), p.returncode
return p.stdout.read ().decode ("utf-8").strip(), p.returncode
args = sys.argv[1:]