devutils/update_lists: use fork multiprocessing only on posix

fixes breakage on windows introduced by #3866.

fork is indeed available on all POSIX systems, but windows isn't one,
so we use the default spawn method on all non-POSIX systems
(nt/windows) instead.
This commit is contained in:
wukko
2026-07-15 15:50:16 +06:00
parent 391bf50764
commit 68be4fc5a3
+2 -1
View File
@@ -404,5 +404,6 @@ def main(args_list=None):
if __name__ == "__main__":
multiprocessing.set_start_method('fork')
if os.name == 'posix':
multiprocessing.set_start_method('fork')
main()