justo.plugin.kill
v1.0.0-alpha2.3
Published
Justo plugin for sending KILL signal to one or more processes.
Downloads
4
Readme
justo.plugin.kill
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.
Use
const kill = require("justo.plugin.kill")
kill task
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"
});