Browse Source

Add debug logging to `run()` (#9986)

pull/10194/head 0.9.59
Ryan 3 years ago
committed by GitHub
parent
commit
0f9b7b9768
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      lib/python/qmk/commands.py

+ 3
- 0
lib/python/qmk/commands.py View File

@ -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)

Loading…
Cancel
Save