From 0691732c9cc06b7929b9443f5b57e76df0fea090 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 21 Jul 2026 21:23:40 -0400 Subject: [PATCH] Update transmit.py print command result --- transmit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmit.py b/transmit.py index a4fe9de8..241572af 100644 --- a/transmit.py +++ b/transmit.py @@ -1098,6 +1098,7 @@ if __name__ == "__main__": try: result = subprocess.run(query, capture_output=True, text=True, check=True) print(f"Command run was: {query}") + print(result) gui_status = result.stdout.strip() print(f"Output of the command (stdout): {gui_status}") except subprocess.CalledProcessError as e: @@ -1107,6 +1108,7 @@ if __name__ == "__main__": print(f"Output of the command (stdout): {e.stdout}") # print(f"Error output of the command (stderr): {e.stderr}") if gui_status == "graphical.target": + print("Sleep another 30 seconds") sleep(30) # sleep another 30 seconds for cpu to settle down print (gui_status)