servo/mach.bat

8 lines
95 B
Batchfile

@echo off
where /Q py.exe
IF %ERRORLEVEL% NEQ 0 (
python mach %*
) ELSE (
py -2 mach %*
)