Justo plugin for sending the KILL signal to one or more processes. It's a local and SSH-compatible plugin.
Developed in Dogma, compiled to JavaScript.
Proudly made with ♥ in Valencia, Spain, EU.
const kill = require("justo.plugin.kill")
This task sends the kill signal to one or more processes:
kill({ps})
-
ps
(string or number, required). Pattern or PID.
When ps
is a number, the plugin uses kill
command; otherwise, pkill -f
.
Example:
kill({
ps: "./node_modules/.bin/http-server"
});