mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 15:26:57 -05:00
Ensure spawn on Windows
This commit is contained in:
parent
50f724489e
commit
b0e5de9d43
@ -37,6 +37,10 @@ def run(settings, logger, db):
|
||||
fhdhr = fHDHR_OBJ(settings, logger, db)
|
||||
fhdhrweb = fHDHR_HTTP_Server(fhdhr)
|
||||
|
||||
# Ensure spawn on Windows instead of fork
|
||||
if settings.dict["main"]["opersystem"] in ["Windows"]:
|
||||
multiprocessing.set_start_method('spawn')
|
||||
|
||||
try:
|
||||
|
||||
print("HTTP Server Starting")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user