Merge pull request #1 from Emxm3/OSX-multithreading

Update task runner to allow multi-threading on OSX
This commit is contained in:
Pippyyy
2019-04-30 16:01:28 +08: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):