Created
November 24, 2025 21:30
-
-
Save me-suzy/7daf7466ef74e92344af36f7c6914888 to your computer and use it in GitHub Desktop.
run_simplu.bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cd /d "%~dp0" | |
| echo Verificare stare Chrome Debug (port 9222)... | |
| REM Test efectiv dacă portul 9222 răspunde | |
| powershell -Command "$result = Test-NetConnection -ComputerName localhost -Port 9222 -InformationLevel Quiet -WarningAction SilentlyContinue; if ($result) { exit 0 } else { exit 1 }" >nul 2>&1 | |
| if %errorlevel% equ 0 ( | |
| echo [INFO] Chrome Debug este DEJA PORNIT si asculta pe portul 9222. | |
| echo Se porneste direct scriptul Python... | |
| ) else ( | |
| echo [INFO] Chrome Debug NU este pornit. | |
| echo Se lanseaza start_chrome_debug.bat... | |
| start "" "start_chrome_debug.bat" | |
| echo Se asteapta 5 secunde pentru initializarea Chrome... | |
| timeout /t 5 | |
| ) | |
| echo. | |
| echo ========================================== | |
| echo PORNIRE SCRIPT AUTOMATIZARE | |
| echo ========================================== | |
| python "+FINAL 3 - asta pornesti SIMPLU.py" | |
| echo. | |
| echo Script finalizat. | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment