projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cleanup for run_test.py
[python_utils.git]
/
exec_utils.py
diff --git
a/exec_utils.py
b/exec_utils.py
index 7f23ecd16a40bcad9be70fe42c274eb4f0482369..7e45d92377d553ad5c5343158f49c5366faf12b6 100644
(file)
--- 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,
ret = subprocess.run(
command,
shell=True,
- capture_output=True,
+ # capture_output=True,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
check=True,
timeout=timeout_seconds,
).stdout
check=True,
timeout=timeout_seconds,
).stdout