Force the use of the 'fork' start method on Python 3.14; this isn't a thing that should change on us.

Fixes #6213
This commit is contained in:
Daniel Johnson
2025-11-04 17:58:04 -05:00
parent 9429040d85
commit 4cef240728

View File

@@ -15,10 +15,15 @@
import gettext
import locale
import multiprocessing
import os
import sys
from os.path import dirname, normpath, realpath
# Python 3.14 changes the default to 'forkserver' which is very different;
# let's not put up with _that_!
multiprocessing.set_start_method("fork")
LAUNCH_PATH = dirname(realpath(__file__))
# Prevent loading Python modules from home folder