summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/command.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-07-07 14:10:59 -0600
committerTom Rini <trini@konsulko.com>2025-07-07 14:10:59 -0600
commit6d0b8874fde96c88e866c1e5ae0018354b7cd7d6 (patch)
treefc498e7eaa23b8d27c701648bd3d0f92160bde39 /tools/u_boot_pylib/command.py
parente37de002fac3895e8d0b60ae2015e17bb33e2b5b (diff)
parent7598b469c16d97128d9c22839b06d94c5c331a7e (diff)
Merge branch 'next'
Diffstat (limited to 'tools/u_boot_pylib/command.py')
-rw-r--r--tools/u_boot_pylib/command.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/u_boot_pylib/command.py b/tools/u_boot_pylib/command.py
index 0e247355ef6..cb7ebf49ce5 100644
--- a/tools/u_boot_pylib/command.py
+++ b/tools/u_boot_pylib/command.py
@@ -203,7 +203,7 @@ def run_one(*cmd, **kwargs):
return run_pipe([cmd], **kwargs)
-def run_list(cmd):
+def run_list(cmd, **kwargs):
"""Run a command and return its output
Args:
@@ -211,8 +211,9 @@ def run_list(cmd):
Returns:
str: output of command
+ **kwargs (dict of args): Extra arguments to pass in
"""
- return run_pipe([cmd], capture=True).stdout
+ return run_pipe([cmd], capture=True, **kwargs).stdout
def stop_all():