Skip to content

Commit c8ae176

Browse files
authored
Merge pull request #37 from Emxm3/master
Fix multi-threading for OSX
2 parents eeb371b + 5e6708e commit c8ae176

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Interlace/lib/threader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import threading
2+
import subprocess
23
import os
34

45

@@ -20,7 +21,7 @@ def __call__(self):
2021

2122
@staticmethod
2223
def run_task(task):
23-
os.system(task)
24+
subprocess.call(task, shell=true)
2425

2526

2627
class Pool(object):

0 commit comments

Comments
 (0)