We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63c424 commit 3204fcaCopy full SHA for 3204fca
tools/install_deps.py
@@ -156,8 +156,9 @@ def run_and_print(args: list[str]):
156
while p.poll() is None:
157
text = p.stdout.read1().decode("utf-8")
158
print(text, end="", flush=True)
159
- if p.poll() != 0:
160
- raise RuntimeError(f'Subprocess with args: "{args}" failed. The returned error code was: {p.poll()}')
+ return_code = p.poll()
+ if return_code != 0:
161
+ raise RuntimeError(f'Subprocess with args: "{args}" failed. The returned error code was: {return_code}')
162
163
164
def main():
0 commit comments