Suppress stderr for 'where python'/'where python3' in xb.bat.
This commit is contained in:
parent
75a78c45c4
commit
f9e037f84b
4
xb.bat
4
xb.bat
|
@ -39,11 +39,11 @@ SET CANDIDATE_PATHS[2]=C:\python35\python.exe
|
|||
SET CANDIDATE_PATHS[3]=C:\python34\python.exe
|
||||
SET OUTPUT_INDEX=4
|
||||
|
||||
FOR /F "usebackq" %%l IN (`where python3`) DO (
|
||||
FOR /F "usebackq" %%l IN (`2^>NUL where python3`) DO (
|
||||
SET CANDIDATE_PATHS[!OUTPUT_INDEX!]=%%l
|
||||
SET /A OUTPUT_INDEX+=1
|
||||
)
|
||||
FOR /F "usebackq" %%l IN (`where python`) DO (
|
||||
FOR /F "usebackq" %%l IN (`2^>NUL where python`) DO (
|
||||
SET CANDIDATE_PATHS[!OUTPUT_INDEX!]=%%l
|
||||
SET /A OUTPUT_INDEX+=1
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue