mirror of
https://github.com/codingo/Interlace.git
synced 2026-02-21 23:04:28 +01:00
Merge pull request #1 from Emxm3/OSX-multithreading
Update task runner to allow multi-threading on OSX
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user