X-Git-Url: https://git.ralfj.de/saartuer.git/blobdiff_plain/d70ca0e92ad8ec4ccad5fe20eca7c6224e4f5f3a..58cb71a3e864fbad3e90a9518a367e28ee458467:/tyshell?ds=inline diff --git a/tyshell b/tyshell index 1b90bd0..6faaba8 100755 --- a/tyshell +++ b/tyshell @@ -33,9 +33,9 @@ def sendcmd(addr, cmd): print("Running %s..." % (cmd)) s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) s.connect(addr) - s.settimeout(10.0) + s.settimeout(60.0) s.send(cmd.encode()) - data = s.recv(4) + data = s.recv(256) s.close() print(data.decode('utf-8')) return run