~ruther/qmk_firmware

0f9b7b9768e53add15dc7e860efab0464cd7533d — Ryan 5 years ago c9eaf1a
Add debug logging to `run()` (#9986)

1 files changed, 3 insertions(+), 0 deletions(-)

M lib/python/qmk/commands.py
M lib/python/qmk/commands.py => lib/python/qmk/commands.py +3 -0
@@ 7,6 7,7 @@ import subprocess
import shlex
import shutil

from milc import cli
import qmk.keymap




@@ 83,4 84,6 @@ def run(command, *args, **kwargs):
        safecmd = ' '.join(safecmd)
        command = [os.environ['SHELL'], '-c', safecmd]

    cli.log.debug('Running command: %s', command)

    return subprocess.run(command, *args, **kwargs)