diff options
Diffstat (limited to 'exec_utils.py')
| -rw-r--r-- | exec_utils.py | 4 |
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 |
