diff options
author | Zach White <skullydazed@gmail.com> | 2021-05-19 15:49:11 -0700 |
---|---|---|
committer | Zach White <skullydazed@gmail.com> | 2021-05-19 15:49:11 -0700 |
commit | 6955c5a00295382d3b4151a840aa5c929cd98059 (patch) | |
tree | 26109c4ed2a266650fc5fad19ce5f784bc7c346b /lib/python/qmk/cli/compile.py | |
parent | 82aa9ad4a567695d1f7d0b1e36bf8563d2967813 (diff) | |
parent | db1eacdaacb9c8f6889f46bc1c6af155b81ad72a (diff) |
Merge remote-tracking branch 'origin/master' into develop
Resolved Conflicts:
lib/python/qmk/tests/test_cli_commands.py
util/install/fedora.sh
Diffstat (limited to 'lib/python/qmk/cli/compile.py')
-rwxr-xr-x | lib/python/qmk/cli/compile.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/compile.py b/lib/python/qmk/cli/compile.py index 23ca4e00a6..7a45e77214 100755 --- a/lib/python/qmk/cli/compile.py +++ b/lib/python/qmk/cli/compile.py @@ -2,6 +2,8 @@ You can compile a keymap already in the repo or using a QMK Configurator export. """ +from subprocess import DEVNULL + from argcomplete.completers import FilesCompleter from milc import cli @@ -31,8 +33,7 @@ def compile(cli): """ if cli.args.clean and not cli.args.filename and not cli.args.dry_run: command = create_make_command(cli.config.compile.keyboard, cli.config.compile.keymap, 'clean') - # FIXME(skullydazed/anyone): Remove text=False once milc 1.0.11 has had enough time to be installed everywhere. - cli.run(command, capture_output=False, text=False) + cli.run(command, capture_output=False, stdin=DEVNULL) # Build the environment vars envs = {} |