mirror of
https://github.com/lutris/lutris.git
synced 2025-12-23 15:49:45 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user