mirror of https://github.com/n1nj4sec/pupy.git
Use async write cb
This commit is contained in:
parent
4baa96747c
commit
3bc35a9e25
|
@ -61,6 +61,7 @@ class InteractiveShell(PupyModule):
|
|||
|
||||
def _read_loop(self, write_cb, complete):
|
||||
lastbuf = b''
|
||||
write_cb = rpyc.async(write_cb)
|
||||
|
||||
while not complete.is_set():
|
||||
r, _, x = select.select([sys.stdin], [], [sys.stdin], None)
|
||||
|
|
Loading…
Reference in New Issue