We switch from `subprocess.run` to manually handling a `Popen` object so we can decide whether a returncode of 1 is fine or now depending on the output we see. Since we want live output during the download, we cannot just capture all the output. Instead, we have to regularly print whatever we captured. Therefore, we need a `Popen` object and need to call `communicate()` with a timeout on it.main
parent
16de972f7b
commit
c2f5732351
Loading…
Reference in new issue