Update docstrings w.r.t. subprocess2.
No code change.
R=dpranke@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/7858001
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@100212 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gclient_utils.py b/gclient_utils.py
index 0bae712..350de22 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -320,10 +320,10 @@
**kwargs):
"""Runs a command and calls back a filter function if needed.
- Accepts all subprocess.Popen() parameters plus:
+ Accepts all subprocess2.Popen() parameters plus:
print_stdout: If True, the command's stdout is forwarded to stdout.
filter_fn: A function taking a single string argument called with each line
- of the subprocess's output. Each line has the trailing newline
+ of the subprocess2's output. Each line has the trailing newline
character trimmed.
stdout: Can be any bufferable output.
@@ -337,7 +337,7 @@
args, bufsize=0, stdout=subprocess2.PIPE, stderr=subprocess2.STDOUT,
**kwargs)
- # Do a flush of stdout before we begin reading from the subprocess's stdout
+ # Do a flush of stdout before we begin reading from the subprocess2's stdout
stdout.flush()
# Also, we need to forward stdout to prevent weird re-ordering of output.