From d8454b77bde93bd17d42b3f5fa48a502c75290f8 Mon Sep 17 00:00:00 2001 From: cc Date: Thu, 24 Oct 2024 23:29:43 +0200 Subject: [PATCH] repl: flush log to output --- frida_tools/repl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frida_tools/repl.py b/frida_tools/repl.py index aaba848c..89b120bd 100644 --- a/frida_tools/repl.py +++ b/frida_tools/repl.py @@ -209,6 +209,7 @@ def _log(self, level: str, text: str) -> None: ConsoleApplication._log(self, level, text) if self._logfile is not None: self._logfile.write(text + "\n") + self._logfile.flush() def _usage(self) -> str: return "%(prog)s [options] target"