Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Side by Side Diff: tools/python/google/process_utils.py

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4
4 """Shared process-related utility functions.""" 5 """Shared process-related utility functions."""
5 6
6 import errno 7 import errno
7 import os 8 import os
8 import subprocess 9 import subprocess
9 import sys 10 import sys
10 11
11 class CommandNotFound(Exception): pass 12 class CommandNotFound(Exception): pass
12 13
13 14
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 break 213 break
213 214
214 # Make sure the process terminates. 215 # Make sure the process terminates.
215 for i in xrange(command_num): 216 for i in xrange(command_num):
216 procs[i].wait() 217 procs[i].wait()
217 218
218 if not verbose: 219 if not verbose:
219 out.close() 220 out.close()
220 221
221 return [(procs[i].returncode, outputs[i]) for i in xrange(command_num)] 222 return [(procs[i].returncode, outputs[i]) for i in xrange(command_num)]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698