summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-10 21:34:11 +0000
committerQMK Bot <hello@qmk.fm>2022-03-10 21:34:11 +0000
commit31eb82c911a8d15849b3e2229a956f5842cfb50f (patch)
tree6eb5f437716e8ea42efc4ed33cc55cb804731530 /lib/python/qmk
parent54658a36875d3c65457fd53f134ca1d1ab8ced3c (diff)
parentb75f6691a15a78b9c200a88e28792974ca2f9461 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk')
-rwxr-xr-xlib/python/qmk/cli/cd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/cd.py b/lib/python/qmk/cli/cd.py
index c62c3f56c6..ef03011f1f 100755
--- a/lib/python/qmk/cli/cd.py
+++ b/lib/python/qmk/cli/cd.py
@@ -2,6 +2,7 @@
"""
import sys
import os
+import subprocess
from milc import cli
@@ -41,6 +42,6 @@ def cd(cli):
# Set the prompt for the new shell
qmk_env['MSYS2_PS1'] = qmk_env['PS1']
# Start the new subshell
- cli.run([os.environ.get('SHELL', '/usr/bin/bash')], env=qmk_env)
+ subprocess.run([os.environ.get('SHELL', '/usr/bin/bash')], env=qmk_env)
else:
cli.log.info("Already within qmk_firmware directory.")