From ec8be2039e70617008a22601ee796f593312ba0c Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 2 May 2016 17:19:36 +0300 Subject: oeqa.utils.commands: runCmd: return stderr output, too Useful if one wants to separate stdout and stderr. (From OE-Core rev: de9744c91a997a5ab0e7a19dbe13d8def8d62800) Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/commands.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 2e513be6af..eddcf1ac8f 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py @@ -103,6 +103,7 @@ def runCmd(command, ignore_status=False, timeout=None, assert_error=True, **opti result.command = command result.status = cmd.status result.output = cmd.output + result.error = cmd.error result.pid = cmd.process.pid if result.status and not ignore_status: -- cgit 1.2.3-korg