servo/mach.bat
Dominic Cooney aa3359dc9e Make mach.bat request Python 3
The mach Python script no longer supports Python 2, so don't use
Python 2.

Fixes #28379

Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
2021-05-22 18:27:10 +09:00

8 lines
95 B
Batchfile

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