X-Git-Url: https://git.ralfj.de/saartuer.git/blobdiff_plain/b8b6e14e6923809efc61c71dd94b1e66026aad9b..d084286e81b121106a0a165e3c151762635466e0:/tryshell?ds=sidebyside diff --git a/tryshell b/tryshell index 3d4e3ed..1880dd5 100755 --- 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))