Adjust set_start_method decision, changing fork to forkserver for platforms other than win32, darwin
This commit is contained in:
@@ -78,6 +78,6 @@ def run(args=None):
|
||||
|
||||
if __name__ == '__main__':
|
||||
multiprocessing.freeze_support()
|
||||
if os.name == 'posix':
|
||||
if sys.platform not in ('win32', 'darwin'):
|
||||
multiprocessing.set_start_method('forkserver')
|
||||
sys.exit(run())
|
||||
|
||||
Reference in New Issue
Block a user