summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/command.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-27 07:43:04 -0600
committerTom Rini <trini@konsulko.com>2025-05-27 07:43:04 -0600
commit6015a24a5a2647ab044333ed8e2462f90f855e36 (patch)
tree53fe80bee534a17f6c40e697cc112287a0b4b3c5 /tools/u_boot_pylib/command.py
parent39b815d02d7ce6af32bcf023d20243c404b75a84 (diff)
parentec2482a24ac3a1d0beadae80bcb28c8d89b4c1ab (diff)
Merge tag 'dm-next-27may25' of git://git.denx.de/u-boot-dm into next
Sync up Python tools from my tree - minor binman tweaks - terminal improvements in u_boot_pylib - patman move to asyncio - patman support for new 'series' subcommand
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():