function kill() {
    getDescendentProcessInfo(this.pid, { root: true }, (err, pids) => {
        if (err) {
            return
        }

        for (const pid of pids) {
            try {
                process.kill(pid)
            }
            catch (_err) {
                // ignore.
            }
        }
    })
}
Kills the new process and its sub processes.
@this ChildProcess
@returns {void}