From ca8a78d5f36e47a16a62363aed1e67b067c0cc0a Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Wed, 21 Sep 2022 10:02:51 +0200 Subject: [PATCH] python-setup: flush at the end of `_check_call` --- python-setup/auto_install_packages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-setup/auto_install_packages.py b/python-setup/auto_install_packages.py index b134bf673a..abef8cc313 100755 --- a/python-setup/auto_install_packages.py +++ b/python-setup/auto_install_packages.py @@ -15,6 +15,8 @@ def _check_call(command, extra_env={}): env = os.environ.copy() env.update(extra_env) subprocess.check_call(command, stdin=subprocess.DEVNULL, env=env) + sys.stdout.flush() + sys.stderr.flush() def _check_output(command, extra_env={}):