src/eric7/Utilities/BackgroundClient.py

branch
eric7
changeset 9348
f61d71d95cb1
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/Utilities/BackgroundClient.py	Wed Sep 21 10:38:52 2022 +0200
+++ b/src/eric7/Utilities/BackgroundClient.py	Wed Sep 21 17:08:29 2022 +0200
@@ -9,14 +9,15 @@
 checkers and other python interpreter dependent functions.
 """
 
+import contextlib
 import io
 import json
+import multiprocessing
 import socket
 import struct
 import sys
 import time
 import traceback
-import contextlib
 from zlib import adler32
 
 
@@ -234,6 +235,8 @@
         )
         sys.exit(1)
 
+    multiprocessing.set_start_method("spawn")
+
     host, port, maxProcs, pyLibraryPath = sys.argv[1:]
 
     # insert pyLibraryPath into the search path because external stuff might

eric ide

mercurial