forked from goodboy/tractor
1
0
Fork 0

Fork isn't present on windows...

try_trip^2
Tyler Goodlet 2020-01-26 22:35:42 -05:00
parent 7c1bc1fce4
commit e57811a602
1 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ def try_set_start_method(name: str) -> Optional[mp.context.BaseContext]:
global _spawn_method global _spawn_method
methods = mp.get_all_start_methods() methods = mp.get_all_start_methods()
if 'fork' in methods:
methods.remove('fork') methods.remove('fork')
# no Windows support for trip yet # no Windows support for trip yet