We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62119b commit 8419c86Copy full SHA for 8419c86
Interlace/lib/threader.py
@@ -4,7 +4,12 @@
4
from multiprocessing import Event
5
from tqdm import tqdm
6
7
-shell = os.getenv("SHELL") if os.getenv("SHELL") else "/bin/sh"
+import platform
8
+
9
+if platform.system().lower() == 'linux':
10
+ shell = os.getenv("SHELL") if os.getenv("SHELL") else "/bin/sh"
11
+else:
12
+ shell = None
13
14
class Task(object):
15
def __init__(self, command):
0 commit comments