about summary refs log tree commit diff
path: root/kcc-c2e.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2019-03-08 08:16:53 +0100
committerPaweł Jastrzębski <pawelj@iosphe.re>2019-03-08 08:16:53 +0100
commit0b056a8fa854a8665d280013e0edc06c8dca77a9 (patch)
tree67c1c6006eb7fc046d428fae69140a0eb2a4b242 /kcc-c2e.py
parentTweaks for OSX binary (diff)
downloadkcc-0b056a8fa854a8665d280013e0edc06c8dca77a9.tar.gz
kcc-0b056a8fa854a8665d280013e0edc06c8dca77a9.tar.bz2
kcc-0b056a8fa854a8665d280013e0edc06c8dca77a9.zip
Stabilise multiprocessing on OSX
Diffstat (limited to 'kcc-c2e.py')
-rwxr-xr-xkcc-c2e.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kcc-c2e.py b/kcc-c2e.py
index d2188a7..72606d5 100755
--- a/kcc-c2e.py
+++ b/kcc-c2e.py
@@ -23,9 +23,10 @@ if sys.version_info[0] != 3:
     print('ERROR: This is Python 3 script!')
     exit(1)
 
-from multiprocessing import freeze_support
+from multiprocessing import freeze_support, set_start_method
 from kindlecomicconverter.startup import startC2E
 
 if __name__ == "__main__":
+    set_start_method('spawn')
     freeze_support()
     startC2E()