Short Question: Why python executable generated by pyinstaller opens new window instance when function by multiprocessing module is called on windows operating system
If you want to use multiprocessing as a frozen executable, you need to call multiprocessing.freeze_support()
at the beginning of your main script. This will allow multiprocessing to "take over" when it spawns its worker processes.
See also https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Multiprocessing