Merge pull request #37 from Emxm3/master

Fix multi-threading for OSX
This commit is contained in:
Michael Skelton
2019-04-30 19:47:51 +10:00
committed by GitHub

View File

@@ -1,4 +1,5 @@
import threading
import subprocess
import os
@@ -20,7 +21,7 @@ class Worker(object):
@staticmethod
def run_task(task):
os.system(task)
subprocess.call(task, shell=true)
class Pool(object):