From 3d5efcaf9cf3e2150f2870c4460d420760a98a7a Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 18 May 2018 13:53:25 +1200 Subject: [PATCH] actually pass new defaults to run, oops --- subiquitycore/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquitycore/utils.py b/subiquitycore/utils.py index 42fbba0f..054c5580 100644 --- a/subiquitycore/utils.py +++ b/subiquitycore/utils.py @@ -112,7 +112,7 @@ def run_command(cmd, *, input=None, stdout=subprocess.PIPE, stderr=subprocess.PI kw['stdin'] = subprocess.DEVNULL log.debug("run_command called: %s", cmd) try: - cp = subprocess.run(cmd, input=input, encoding=encoding, env=_clean_env(env), **kw) + cp = subprocess.run(cmd, input=input, stdout=stdout, stderr=stderr, encoding=encoding, env=_clean_env(env), **kw) except subprocess.CalledProcessError as e: log.debug("run_command %s", str(e)) raise