Skip to content

Commit

Permalink
fix(windows): multiprocessing support for PyInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalzer committed Dec 20, 2021
1 parent 0845163 commit 0ed55ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions log4j-finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ def main():


if __name__ == "__main__":
if sys.platform == "win32":
multiprocessing.freeze_support()
try:
sys.exit(main())
except KeyboardInterrupt:
Expand Down

0 comments on commit 0ed55ac

Please sign in to comment.