Wrapper for the Windows
taskkillcommand. Ends one or more tasks or processes.
$ npm install --save taskkill
const taskkill = ;const input = 4970 4512;;
taskkill docs for more.
Returns a promise.
One or more process IDs or image names, but not mixed.
password options are mutually inclusive.
Name or IP address of a remote computer (do not use backslashes). The default is the local computer.
User specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
Password of the user account for the specified
Types of processes to include or exclude from termination.
taskkill docs for supported filters.
Forcefully terminate processes. Ignored for remote processes as all remote processes are forcefully terminated.
Terminate all child processes along with the parent process, commonly known as a tree kill.
MIT © Sindre Sorhus