mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
14 lines
213 B
Batchfile
14 lines
213 B
Batchfile
@echo off
|
|
call :s_which py.exe
|
|
if not "%_path%" == "" (
|
|
py -3 -m xonsh.xoreutils.cat %*
|
|
) else (
|
|
python -m xonsh.xoreutils.cat %*
|
|
)
|
|
|
|
goto :eof
|
|
|
|
:s_which
|
|
setlocal
|
|
endlocal & set _path=%~$PATH:1
|
|
goto :eof
|