projects
/
saartuer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lots of changes to make things actually work
[saartuer.git]
/
tyshell
diff --git
a/tyshell
b/tyshell
index 1b90bd0ed0cb306b28988f88b5282e997ac7ad70..6faaba8908542c955d7ba4eb855d306bdd04923e 100755
(executable)
--- 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)
print("Running %s..." % (cmd))
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect(addr)
- s.settimeout(
1
0.0)
+ s.settimeout(
6
0.0)
s.send(cmd.encode())
s.send(cmd.encode())
- data = s.recv(
4
)
+ data = s.recv(
256
)
s.close()
print(data.decode('utf-8'))
return run
s.close()
print(data.decode('utf-8'))
return run