We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8758f00 commit 13a3bb1Copy full SHA for 13a3bb1
tools/msvs/find_python.cmd
@@ -2,7 +2,7 @@
2
echo Looking for Python 2.x
3
SETLOCAL
4
:: If python.exe is in %Path%, just validate
5
-FOR /F "delims=" %%a IN ('where python 2^> NUL') DO (
+FOR /F "delims=" %%a IN ('where python.exe 2^> NUL') DO (
6
SET need_path=0
7
SET p=%%~dpa
8
IF NOT ERRORLEVEL 1 GOTO :validate
0 commit comments