diff options
Diffstat (limited to 'lib/python/qmk')
| -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 ffd1502f7..99461db32 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py | |||
| @@ -239,6 +239,6 @@ def run(command, *args, **kwargs): | |||
| 239 | safecmd = map(str, command) | 239 | safecmd = map(str, command) |
| 240 | safecmd = map(shlex.quote, safecmd) | 240 | safecmd = map(shlex.quote, safecmd) |
| 241 | safecmd = ' '.join(safecmd) | 241 | safecmd = ' '.join(safecmd) |
| 242 | command = [os.environ['SHELL'], '-c', safecmd] | 242 | command = [os.environ.get('SHELL', '/usr/bin/bash'), '-c', safecmd] |
| 243 | 243 | ||
| 244 | return subprocess.run(command, *args, **kwargs) | 244 | return subprocess.run(command, *args, **kwargs) |
