diff options
author | QMK Bot <hello@qmk.fm> | 2022-03-10 21:34:11 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-03-10 21:34:11 +0000 |
commit | 31eb82c911a8d15849b3e2229a956f5842cfb50f (patch) | |
tree | 6eb5f437716e8ea42efc4ed33cc55cb804731530 /lib | |
parent | 54658a36875d3c65457fd53f134ca1d1ab8ced3c (diff) | |
parent | b75f6691a15a78b9c200a88e28792974ca2f9461 (diff) | |
download | qmk_firmware-31eb82c911a8d15849b3e2229a956f5842cfb50f.tar.gz qmk_firmware-31eb82c911a8d15849b3e2229a956f5842cfb50f.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/python/qmk/cli/cd.py | 3 |
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.") |