1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 05:39:43 +00:00

test results encoding

This commit is contained in:
deadc0de6
2023-01-20 18:00:23 +01:00
parent 5044aee2b4
commit bd1d7310e7

View File

@@ -34,7 +34,9 @@ def run_test(logfd, path):
proc = subprocess.Popen(path, shell=False,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True)
universal_newlines=True,
encoding='utf-8',
errors='ignore')
out, _ = proc.communicate()
ret = proc.returncode == 0
reason = 'returncode'