We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1468484 commit 7978be2Copy full SHA for 7978be2
cycode/cli/main.py
@@ -1,4 +1,11 @@
1
+from multiprocessing import freeze_support
2
+
3
from cycode.cli.commands.main_cli import main_cli
4
5
if __name__ == '__main__':
6
+ # DO NOT REMOVE OR MOVE THIS LINE
7
+ # this is required to support multiprocessing in executables files packaged with PyInstaller
8
+ # see https://pyinstaller.org/en/latest/common-issues-and-pitfalls.html#multi-processing
9
+ freeze_support()
10
11
main_cli()
0 commit comments