mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
switch to forking processes on Unix
This commit is contained in:
@@ -110,7 +110,7 @@ def run(*args, **kwargs):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
multiprocessing.freeze_support()
|
multiprocessing.freeze_support()
|
||||||
multiprocessing.set_start_method("spawn")
|
multiprocessing.set_start_method("fork")
|
||||||
run()
|
run()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user