how to kill a proccess cmd with taskkill code example
Example 1: windows kill process
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
Example 2: cmd kill pid
taskkill /F /PID pid_number
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
taskkill /F /PID pid_number