From 0ed55ac11b80213b7731cb593cd5af956621db53 Mon Sep 17 00:00:00 2001 From: sibalzer Date: Mon, 20 Dec 2021 18:10:20 +0100 Subject: [PATCH] fix(windows): multiprocessing support for PyInstaller --- log4j-finder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log4j-finder.py b/log4j-finder.py index e145c47..652c031 100755 --- a/log4j-finder.py +++ b/log4j-finder.py @@ -429,6 +429,8 @@ def main(): if __name__ == "__main__": + if sys.platform == "win32": + multiprocessing.freeze_support() try: sys.exit(main()) except KeyboardInterrupt: