From 99976a476b77e7f58c89fc275257ab2edba32ee4 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Mon, 23 Sep 2024 14:33:48 +0200 Subject: [PATCH] Update a log file in TeePopen on write --- tests/ci/tee_popen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ci/tee_popen.py b/tests/ci/tee_popen.py index 53b0a0f6c2c..e5802d006f8 100644 --- a/tests/ci/tee_popen.py +++ b/tests/ci/tee_popen.py @@ -99,6 +99,7 @@ class TeePopen: for line in self.process.stdout: sys.stdout.write(line) self.log_file.write(line) + self.log_file.flush() return self.process.wait()