diff options
author | pjohnson@google.com <pjohnson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 20:57:10 +0000 |
---|---|---|
committer | pjohnson@google.com <pjohnson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 20:57:10 +0000 |
commit | 5ee76d47e12c3bcaf088483456470698720c082d (patch) | |
tree | d1b0adc1252d5c06eec9c860883c37963fadafd3 /tools | |
parent | 9c004bc0b3bf5e5f282e80a0708de679bfb71520 (diff) | |
download | chromium_src-5ee76d47e12c3bcaf088483456470698720c082d.zip chromium_src-5ee76d47e12c3bcaf088483456470698720c082d.tar.gz chromium_src-5ee76d47e12c3bcaf088483456470698720c082d.tar.bz2 |
Make sure the child process terminates before returning from process_utils.RunCommandFull.
BUG=1295708
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-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) |