how to kill process by pid windows code example
Example 1: kill process cmd
netstat -ano | findstr :3000
taskkill /PID "123" /F
Example 2: cmd kill pid
taskkill /F /PID pid_number
netstat -ano | findstr :3000
taskkill /PID "123" /F
taskkill /F /PID pid_number