[test] Minor
This commit is contained in:
parent
5f94b4cc39
commit
7020130665
|
@ -9,7 +9,7 @@ def cmd(command):
|
||||||
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
p.wait ()
|
p.wait ()
|
||||||
print (p.stderr.read (), file=sys.stderr, end='')
|
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:]
|
args = sys.argv[1:]
|
||||||
|
|
Loading…
Reference in New Issue