projects
/
saartuer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wait a bit more before starting to complain
[saartuer.git]
/
tyshell
diff --git
a/tyshell
b/tyshell
index 37873bcff4bc21df5a5e4f27dc867466a2ee7f9e..2df0a229b5069a4a4e292a9bcbaf87ccdff1906c 100755
(executable)
--- a/
tyshell
+++ b/
tyshell
@@
-43,9
+43,11
@@
def sendcmd(addr, cmd):
s.connect(addr)
s.settimeout(60.0)
s.send(cmd.encode())
- data = s.recv(256)
+ while True:
+ data = s.recv(256)
+ if not len(data): break
+ print(data.decode('utf-8'))
s.close()
- print(data.decode('utf-8'))
return run
def exitcmd(c):