|
|
@ -7,6 +7,7 @@ import subprocess
|
|
|
|
import shlex
|
|
|
|
import shlex
|
|
|
|
import shutil
|
|
|
|
import shutil
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from milc import cli
|
|
|
|
import qmk.keymap
|
|
|
|
import qmk.keymap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -83,4 +84,6 @@ def run(command, *args, **kwargs):
|
|
|
|
safecmd = ' '.join(safecmd)
|
|
|
|
safecmd = ' '.join(safecmd)
|
|
|
|
command = [os.environ['SHELL'], '-c', safecmd]
|
|
|
|
command = [os.environ['SHELL'], '-c', safecmd]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cli.log.debug('Running command: %s', command)
|
|
|
|
|
|
|
|
|
|
|
|
return subprocess.run(command, *args, **kwargs)
|
|
|
|
return subprocess.run(command, *args, **kwargs)
|
|
|
|