diff --git a/Interlace/lib/threader.py b/Interlace/lib/threader.py index 3e60d76..29a7a54 100644 --- a/Interlace/lib/threader.py +++ b/Interlace/lib/threader.py @@ -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):