@mytec: iter2.3 multithreading p1 done
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
"""Entry point for PyInstaller bundle"""
|
||||
import os
|
||||
import sys
|
||||
import multiprocessing
|
||||
|
||||
# Required for ProcessPoolExecutor to work in PyInstaller frozen exe on Windows.
|
||||
# Must be called before any other multiprocessing usage.
|
||||
multiprocessing.freeze_support()
|
||||
|
||||
# Force unbuffered stdout/stderr — critical for piped output (Electron, bat files)
|
||||
os.environ['PYTHONUNBUFFERED'] = '1'
|
||||
|
||||
Reference in New Issue
Block a user