mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
debug command
This commit is contained in:
parent
58d38ad3fa
commit
3ba0b9f45b
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ def run_with_pty(command):
|
|||
|
||||
def run_command(command):
|
||||
try:
|
||||
print("Running command:", command)
|
||||
result = subprocess.run(command, capture_output=True, text=True, check=True)
|
||||
print("Script Output\n", result.stdout)
|
||||
return result.returncode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue