mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 17:30:59 +01:00
15 lines
175 B
Batchfile
15 lines
175 B
Batchfile
![]() |
@echo off
|
||
|
call :s_which py.exe
|
||
|
if not "%_path%" == "" (
|
||
|
py -3 pwd %*
|
||
|
) else (
|
||
|
python pwd %*
|
||
|
)
|
||
|
|
||
|
goto :eof
|
||
|
|
||
|
:s_which
|
||
|
setlocal
|
||
|
endlocal & set _path=%~$PATH:1
|
||
|
goto :eof
|