Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
function kill
import { kill } from "https://deno.land/x/deno@v0.30.0/cli/js/deno.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