X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=exec_utils.py;h=c1dbdcb70cf8917ceeca27c1a3b133168ab72171;hb=7913fe84341dbadfd0fe56834cf2ae55b3535365;hp=b4e88bda36361064591d2c336f787e4fb234ae37;hpb=dafadbc23be771d8868b8db335dda9e385ce2e12;p=python_utils.git diff --git a/exec_utils.py b/exec_utils.py index b4e88bd..c1dbdcb 100644 --- a/exec_utils.py +++ b/exec_utils.py @@ -46,6 +46,8 @@ def cmd_showing_output(command: str, ) -> int: if char in line_enders: sys.stderr.flush() p.wait() + sys.stdout.flush() + sys.stderr.flush() return p.returncode