1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:19:46 +00:00

be 3.6 compatible with subprocess popen

This commit is contained in:
deadc0de6
2023-01-20 15:32:23 +01:00
parent 1b83523d26
commit 607467c19e

View File

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