Skip to content

Commit

Permalink
repl: flush log to output
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiChou committed Oct 24, 2024
1 parent 221856d commit d8454b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frida_tools/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d8454b7

Please sign in to comment.