diff options
Diffstat (limited to 'lib/python/qmk/cli/doctor.py')
| -rwxr-xr-x | lib/python/qmk/cli/doctor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 4a2e2010f..9e1057062 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
| @@ -3,12 +3,12 @@ | |||
| 3 | Check out the user's QMK environment and make sure it's ready to compile. | 3 | Check out the user's QMK environment and make sure it's ready to compile. |
| 4 | """ | 4 | """ |
| 5 | import platform | 5 | import platform |
| 6 | from subprocess import DEVNULL | ||
| 6 | 7 | ||
| 7 | from milc import cli | 8 | from milc import cli |
| 8 | from milc.questions import yesno | 9 | from milc.questions import yesno |
| 9 | from qmk import submodules | 10 | from qmk import submodules |
| 10 | from qmk.constants import QMK_FIRMWARE | 11 | from qmk.constants import QMK_FIRMWARE |
| 11 | from qmk.commands import run | ||
| 12 | from qmk.os_helpers import CheckStatus, check_binaries, check_binary_versions, check_submodules, check_git_repo | 12 | from qmk.os_helpers import CheckStatus, check_binaries, check_binary_versions, check_submodules, check_git_repo |
| 13 | 13 | ||
| 14 | 14 | ||
| @@ -93,7 +93,7 @@ def doctor(cli): | |||
| 93 | 93 | ||
| 94 | if not bin_ok: | 94 | if not bin_ok: |
| 95 | if yesno('Would you like to install dependencies?', default=True): | 95 | if yesno('Would you like to install dependencies?', default=True): |
| 96 | run(['util/qmk_install.sh']) | 96 | cli.run(['util/qmk_install.sh', '-y'], stdin=DEVNULL, capture_output=False) |
| 97 | bin_ok = check_binaries() | 97 | bin_ok = check_binaries() |
| 98 | 98 | ||
| 99 | if bin_ok: | 99 | if bin_ok: |
