From c66317aedb6b51c09d941d994cd5d8a47a0f7500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 30 Nov 2018 19:01:38 +0100 Subject: [PATCH] Bug 1511285 - followup: Properly wait for the child process. r+a=Andi --- python/mozbuild/mozbuild/mach_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index eacc1e6a3f528..c17f7a4db939e 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -2827,6 +2827,7 @@ def _run_clang_format_in_console(self, clang_format, paths, assume_filename): with open(paths[0], 'r') as fin: process.stdin.write(fin.read()) process.stdin.close() + process.wait(); return 0 def _run_clang_format_path(self, clang_format, show, paths):