Addon Manager: Fix bug in dependency installer
This commit is contained in:
committed by
Chris Hennes
parent
0a8037a27d
commit
028101d869
@@ -439,7 +439,7 @@ def run_interruptable_subprocess(args) -> subprocess.CompletedProcess:
|
||||
while return_code is None:
|
||||
try:
|
||||
stdout, stderr = p.communicate(timeout=0.1)
|
||||
return_code = p.returncode if p.returncode is not None else -1
|
||||
return_code = p.returncode
|
||||
except subprocess.TimeoutExpired:
|
||||
if QtCore.QThread.currentThread().isInterruptionRequested():
|
||||
p.kill()
|
||||
|
||||
Reference in New Issue
Block a user