summaryrefslogtreecommitdiff
path: root/exec_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'exec_utils.py')
-rw-r--r--exec_utils.py4
1 files changed, 3 insertions, 1 deletions
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