From 21d659b841b526054816e6a0a2b31959899e5022 Mon Sep 17 00:00:00 2001 From: Sean Fisk Date: Mon, 16 Oct 2017 17:51:14 -0400 Subject: [PATCH] Fix incorrect documentation for cmd_and_log --- waflib/Context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waflib/Context.py b/waflib/Context.py index e43bb976..2dd770dd 100644 --- a/waflib/Context.py +++ b/waflib/Context.py @@ -395,8 +395,8 @@ class Context(ctx): :type cmd: list or string :param kw: keyword arguments for subprocess.Popen. The parameters input/timeout will be passed to wait/communicate. :type kw: dict - :returns: process exit status - :rtype: integer + :returns: a tuple containing the contents of stdout and stderr + :rtype: string :raises: :py:class:`waflib.Errors.WafError` if an invalid executable is specified for a non-shell process :raises: :py:class:`waflib.Errors.WafError` in case of execution failure; stdout/stderr/returncode are bound to the exception object """