diff options
-rw-r--r-- | tools/python/google/process_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/python/google/process_utils.py b/tools/python/google/process_utils.py index 966fdf6..acfc59c 100644 --- a/tools/python/google/process_utils.py +++ b/tools/python/google/process_utils.py @@ -130,6 +130,9 @@ def RunCommandFull(command, verbose=True, collect_output=False, sys.stdout.flush() line = read_from.readline() + # Make sure the process terminates. + proc.wait() + if not verbose: out.close() return (proc.returncode, output) |