diff options
author | QMK Bot <hello@qmk.fm> | 2021-05-09 17:20:16 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-05-09 17:20:16 +0000 |
commit | 2f367bab98c3f123fc24044fa637ecb32a9b43ac (patch) | |
tree | b8018a7efaaadac4edcec783378a699403c5997e /lib/python | |
parent | ad1244e2cf0df975073eaac1343d74241bbf934b (diff) | |
parent | 30aae6298bb9f31a172dbc36817965bc415519b8 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python')
-rw-r--r-- | lib/python/qmk/commands.py | 2 |
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) |