From 11f8eba52154d14a05df6e64067b6645e3dca3b2 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 2 Jun 2022 10:57:38 -0700 Subject: Update run_tests.py. --- exec_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'exec_utils.py') diff --git a/exec_utils.py b/exec_utils.py index 7f23ecd..7e45d92 100644 --- a/exec_utils.py +++ b/exec_utils.py @@ -123,7 +123,9 @@ def cmd(command: str, timeout_seconds: Optional[float] = None) -> str: ret = subprocess.run( command, shell=True, - capture_output=True, + # capture_output=True, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, check=True, timeout=timeout_seconds, ).stdout -- cgit v1.3