aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/python/qmk/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py
index 97774001a..8c3f95ea2 100644
--- a/lib/python/qmk/commands.py
+++ b/lib/python/qmk/commands.py
@@ -238,6 +238,6 @@ def run(command, *args, **kwargs):
238 safecmd = map(str, command) 238 safecmd = map(str, command)
239 safecmd = map(shlex.quote, safecmd) 239 safecmd = map(shlex.quote, safecmd)
240 safecmd = ' '.join(safecmd) 240 safecmd = ' '.join(safecmd)
241 command = [os.environ['SHELL'], '-c', safecmd] 241 command = [os.environ.get('SHELL', '/usr/bin/bash'), '-c', safecmd]
242 242
243 return subprocess.run(command, *args, **kwargs) 243 return subprocess.run(command, *args, **kwargs)