mirror of
https://github.com/servo/servo
synced 2026-04-26 09:35:26 +02:00
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>
9 lines
95 B
Batchfile
9 lines
95 B
Batchfile
@echo off
|
|
|
|
where /Q py.exe
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
python mach %*
|
|
) ELSE (
|
|
py -3 mach %*
|
|
)
|