Remove debug print statements, keep PID for confirmation

parent c2cdde31
...@@ -210,8 +210,6 @@ def connect_terminal(client_id): ...@@ -210,8 +210,6 @@ def connect_terminal(client_id):
if data: if data:
decoded = data.decode('utf-8', errors='ignore') decoded = data.decode('utf-8', errors='ignore')
output_buffer.append(decoded) output_buffer.append(decoded)
# Debug: print to server log
print(f"Read data: {repr(decoded)}")
except: except:
break break
# Read any remaining data # Read any remaining data
...@@ -220,7 +218,6 @@ def connect_terminal(client_id): ...@@ -220,7 +218,6 @@ def connect_terminal(client_id):
while data: while data:
decoded = data.decode('utf-8', errors='ignore') decoded = data.decode('utf-8', errors='ignore')
output_buffer.append(decoded) output_buffer.append(decoded)
print(f"Read remaining: {repr(decoded)}")
data = os.read(master, 1024) data = os.read(master, 1024)
except: except:
pass 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