1@echo off 2:: Copyright 2019 The Chromium Authors. All rights reserved. 3:: Use of this source code is governed by a BSD-style license that can be 4:: found in the LICENSE file. 5 6:: TODO(crbug.com/1003139): Remove. 7:: Add Python 3 to PATH to work around crbug.com/1003139. 8for /f %%i in (%~dp0python3_bin_reldir.txt) do set PYTHON3_BIN_RELDIR=%%i 9set PATH=%~dp0%PYTHON3_BIN_RELDIR%;%~dp0%PYTHON3_BIN_RELDIR%\Scripts;%~dp0%PYTHON3_BIN_RELDIR%\DLLs;%PATH% 10 11call "%~dp0\cipd_bin_setup.bat" > nul 2>&1 12"%~dp0\.cipd_bin\vpython3.exe" -vpython-interpreter "%~dp0\%PYTHON3_BIN_RELDIR%\python3.exe" %* 13