workspace working
This commit is contained in:
22
zkill.bat
22
zkill.bat
@@ -1 +1,21 @@
|
||||
taskkill /F /IM lightrag-server.exe
|
||||
@echo off
|
||||
echo Killing processes on port 3015...
|
||||
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :3015 ^| findstr LISTENING') do (
|
||||
echo Killing PID %%a
|
||||
taskkill /F /PID %%a 2>nul
|
||||
)
|
||||
|
||||
rem Also kill any python process that might be running the server (optional)
|
||||
rem for /f "tokens=2" %%a in ('tasklist /fi "imagename eq python.exe" /fo csv ^| findstr /i start_server') do (
|
||||
rem echo Killing python process %%a
|
||||
rem taskkill /F /PID %%~a 2>nul
|
||||
rem )
|
||||
|
||||
echo Killing lightrag-server.exe if exists...
|
||||
taskkill /F /IM lightrag-server.exe 2>nul
|
||||
|
||||
rem Additional safety: kill any process named "uvicorn" (if using uvicorn)
|
||||
taskkill /F /IM uvicorn.exe 2>nul
|
||||
|
||||
echo Done.
|
||||
pause
|
||||
Reference in New Issue
Block a user