diff options
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 97774001a3..8c3f95ea21 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py @@ -238,6 +238,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) |