diff --git a/gclient_utils.py b/gclient_utils.py index 8b4eeb2b57..913e8b13ae 100644 --- a/gclient_utils.py +++ b/gclient_utils.py @@ -220,11 +220,11 @@ def SubprocessCallAndFilter(command, while in_byte: if in_byte != "\r": if print_stdout: - sys.stdout.write(in_byte) if not print_messages: print("\n________ running \'%s\' in \'%s\'" % (' '.join(command), in_directory)) print_messages = True + sys.stdout.write(in_byte) if in_byte != "\n": in_line += in_byte if in_byte == "\n" and filter: