aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-08-29 01:03:42 +1000
committerGitHub <noreply@github.com>2020-08-28 08:03:42 -0700
commit0f9b7b9768e53add15dc7e860efab0464cd7533d (patch)
treebeec8c40b3645d490c0596114092610096b3f6ae /lib
parentc9eaf1ac2ba0e9114343815432de524062f4c94f (diff)
downloadfirmware-0f9b7b9768e53add15dc7e860efab0464cd7533d.tar.gz
firmware-0f9b7b9768e53add15dc7e860efab0464cd7533d.tar.bz2
firmware-0f9b7b9768e53add15dc7e860efab0464cd7533d.zip
Add debug logging to `run()` (#9986)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py
index 5a6e60988..4db4667a8 100644
--- a/lib/python/qmk/commands.py
+++ b/lib/python/qmk/commands.py
@@ -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)