status report command introduced
[saartuer.git] / tryshell
index 3d4e3ede848620ace9ef023fe98a8153b838adff..1880dd5fab7a2c1c138c54f9d9524004e243826d 100755 (executable)
--- a/tryshell
+++ b/tryshell
@@ -10,6 +10,8 @@ while True:
        s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
        s.connect(tuerSock)
        s.send(command.encode())
-       data = s.recv(64)
+       while True:
+               data = s.recv(256)
+               if not len(data): break
+               print(data)
        s.close()
-       print(str(data))