mirror of https://github.com/n1nj4sec/pupy.git
Use raw write to log to omit newlines per page output
This commit is contained in:
parent
2931b7053a
commit
9b8c682201
|
@ -207,7 +207,7 @@ class PExec(PupyModule):
|
||||||
close_event = threading.Event()
|
close_event = threading.Event()
|
||||||
|
|
||||||
def on_read(data):
|
def on_read(data):
|
||||||
self.log(data)
|
self.stdout.write(data)
|
||||||
if not self.terminate.is_set():
|
if not self.terminate.is_set():
|
||||||
log.write(data)
|
log.write(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue