Update run_tests.py.
[python_utils.git] / exec_utils.py
index 7f23ecd16a40bcad9be70fe42c274eb4f0482369..7e45d92377d553ad5c5343158f49c5366faf12b6 100644 (file)
@@ -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