diff --git a/gclient_utils.py b/gclient_utils.py index f123496f4..d9c01ddd8 100644 --- a/gclient_utils.py +++ b/gclient_utils.py @@ -681,6 +681,8 @@ def CheckCallAndFilter(args, line_start = command_output.tell() stdout_write(in_byte) + if print_stdout and is_newline: + sys.stdout.flush() command_output.write(in_byte) # Flush the rest of buffered output.