Skip to content

Commit

Permalink
Add debug logging to run() (qmk#9986)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Aug 28, 2020
1 parent c9eaf1a commit 0f9b7b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/python/qmk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import shlex
import shutil

from milc import cli
import qmk.keymap


Expand Down Expand Up @@ -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)

0 comments on commit 0f9b7b9

Please sign in to comment.