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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user