~ruther/qmk_firmware

f9bd9d3b269ef0e1be9189b2395350e2062fe4d0 — Ryan 4 years ago 168ce1a
c2json: Fix TypeError on MSYS2 (#10709)

1 files changed, 2 insertions(+), 1 deletions(-)

M lib/python/qmk/commands.py
M lib/python/qmk/commands.py => lib/python/qmk/commands.py +2 -1
@@ 79,7 79,8 @@ def run(command, *args, **kwargs):
        raise TypeError('`command` must be a non-text sequence such as list or tuple.')

    if 'windows' in platform_id:
        safecmd = map(shlex.quote, command)
        safecmd = map(str, command)
        safecmd = map(shlex.quote, safecmd)
        safecmd = ' '.join(safecmd)
        command = [os.environ['SHELL'], '-c', safecmd]