From 9a369a070a74b36d49419b02aecdeedf4e8a7f85 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 17 Jun 2026 18:37:37 -0500 Subject: [PATCH] Change to start /min instead of pythonw --- run.bat | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/run.bat b/run.bat index 62b850c..fdc21f1 100644 --- a/run.bat +++ b/run.bat @@ -13,22 +13,19 @@ if %errorlevel% neq 0 ( exit /b ) -:: Obtener carpeta de Python -for /f "delims=" %%i in ('where python') do set PY_DIR=%%~dpi - :: Instalar dependencias -"%PY_DIR%python" -m pip install -q -r requirements.txt +python -m pip install -q -r requirements.txt :: Matar instancia anterior -taskkill /f /im pythonw.exe 2>nul +taskkill /f /im python.exe 2>nul -:: Iniciar sin ventana -start "" "%PY_DIR%pythonw" "%~dp0main.py" +:: Iniciar minimizado +start /min python main.py echo ========================================== -echo RIPS Manager iniciado en segundo plano +echo RIPS Manager iniciado (minimizado) echo http://localhost:8080 echo Para detener: doble clic en stop.bat echo ========================================== -timeout /t 4 /nobreak >nul +timeout /t 3 /nobreak >nul exit