From 82e40fb7b1955086b180addcd1cffeeeaded5aa0 Mon Sep 17 00:00:00 2001 From: shrlnm Date: Sun, 7 May 2023 16:52:46 +0300 Subject: [PATCH] modified BAT file --- PYREN.BAT | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PYREN.BAT b/PYREN.BAT index c0cae35..65dab5f 100644 --- a/PYREN.BAT +++ b/PYREN.BAT @@ -1,5 +1,5 @@ @echo off echo Run's app ... -rem uses python3 -python3.exe main.py +for /f %%i in ('python -c "import sys; print(sys.executable)"') do set FULL_PATH_PYTHON3=%%i +%FULL_PATH_PYTHON3% main.py pause