Skip to content

Commit 0356c92

Browse files
committed
Добавлена проверка Python (2)
1 parent 1716847 commit 0356c92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

start.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ python -c "import sys; print(sys.version_info[:2])" > version.txt
2020
set /p version=<version.txt
2121
IF "%version%" LSS "3.10" (
2222
echo Your version of Python is not supported. Please install Python 3.10
23-
exit /b
23+
pause
2424
)
2525
IF "%version%" GEQ "3.11" (
2626
echo Your version of Python is not supported. Please install Python 3.10
27-
exit /b
27+
pause
2828
)
2929

3030
python -m venv venv

start_endpoint.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ python -c "import sys; print(sys.version_info[:2])" > version.txt
1717
set /p version=<version.txt
1818
IF "%version%" LSS "3.10" (
1919
echo Your version of Python is not supported. Please install Python 3.10
20-
exit /b
20+
pause
2121
)
2222
IF "%version%" GEQ "3.11" (
2323
echo Your version of Python is not supported. Please install Python 3.10
24-
exit /b
24+
pause
2525
)
2626

2727
python -m venv venv

0 commit comments

Comments
 (0)