xonsh/scripts/xonsh.bat

15 lines
185 B
Batchfile
Raw Normal View History

2016-05-16 01:21:10 -04:00
@echo off
call :s_which py.exe
if not "%_path%" == "" (
py -3 -m xonsh %*
) else (
python -m xonsh %*
)
goto :eof
:s_which
setlocal
endlocal & set _path=%~$PATH:1
goto :eof