debug command

This commit is contained in:
Xi Yan 2025-01-14 15:37:18 -08:00
parent 58d38ad3fa
commit 3ba0b9f45b

View file

@ -100,6 +100,7 @@ def run_with_pty(command):
def run_command(command): def run_command(command):
try: try:
print("Running command:", command)
result = subprocess.run(command, capture_output=True, text=True, check=True) result = subprocess.run(command, capture_output=True, text=True, check=True)
print("Script Output\n", result.stdout) print("Script Output\n", result.stdout)
return result.returncode return result.returncode