X-Git-Url: https://git.ralfj.de/saartuer.git/blobdiff_plain/abb21b78411793efcdf8832f6837201bfc4ce15c..58cb71a3e864fbad3e90a9518a367e28ee458467:/tyshell 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