Fix WinError 193 on MSYS2

This commit is contained in:
Erovia
2020-03-26 11:40:42 +01:00
committed by skullydazed
parent f0dafaf068
commit a15b0d6460
+1 -1
View File
@@ -30,7 +30,7 @@ def in_qmk_firmware():
while len(cur_dir.parents) > 0:
found_bin = cur_dir / 'bin' / 'qmk'
if found_bin.is_file():
command = [found_bin.as_posix(), '--version']
command = [sys.executable, found_bin.as_posix()]
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0: