Remove debug print statements, keep PID for confirmation

parent c2cdde31
......@@ -210,8 +210,6 @@ def connect_terminal(client_id):
if data:
decoded = data.decode('utf-8', errors='ignore')
output_buffer.append(decoded)
# Debug: print to server log
print(f"Read data: {repr(decoded)}")
except:
break
# Read any remaining data
......@@ -220,7 +218,6 @@ def connect_terminal(client_id):
while data:
decoded = data.decode('utf-8', errors='ignore')
output_buffer.append(decoded)
print(f"Read remaining: {repr(decoded)}")
data = os.read(master, 1024)
except:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment