Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/js/process.ts>kill

A modern runtime for JavaScript and TypeScript.
Go to Latest
function kill
import { kill } from "https://deno.land/x/deno@v0.28.0/cli/js/process.ts";

Send a signal to process under given PID. Unix only at this moment. If pid is negative, the signal will be sent to the process group identified by -pid. Requires the --allow-run flag.

Parameters

pid: number
signo: number