summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-05-09 17:20:16 +0000
committerQMK Bot <hello@qmk.fm>2021-05-09 17:20:16 +0000
commit2f367bab98c3f123fc24044fa637ecb32a9b43ac (patch)
treeb8018a7efaaadac4edcec783378a699403c5997e /lib/python/qmk
parentad1244e2cf0df975073eaac1343d74241bbf934b (diff)
parent30aae6298bb9f31a172dbc36817965bc415519b8 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk')
-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 ffd1502f70..99461db325 100644
--- a/lib/python/qmk/commands.py
+++ b/lib/python/qmk/commands.py
@@ -239,6 +239,6 @@ def run(command, *args, **kwargs):
safecmd = map(str, command)
safecmd = map(shlex.quote, safecmd)
safecmd = ' '.join(safecmd)
- command = [os.environ['SHELL'], '-c', safecmd]
+ command = [os.environ.get('SHELL', '/usr/bin/bash'), '-c', safecmd]
return subprocess.run(command, *args, **kwargs)