quit process in code cmd code example
Example 1: taskkill in cmd
taskkill /f /im notepad.exe /t
taskkill /f /im chrome.exe /t
Example 2: cmd kill pid
taskkill /F /PID pid_number
taskkill /f /im notepad.exe /t
taskkill /f /im chrome.exe /t
taskkill /F /PID pid_number