Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pup/deps.ts>CommandChild#kill

Universal process manager built in Deno
Go to Latest
method CommandChild.prototype.kill
import { CommandChild } from "https://deno.land/x/pup@1.0.0-rc.13/deps.ts";

Send a signal to the executing command's child process. Note that SIGTERM, SIGKILL, SIGABRT, SIGQUIT, SIGINT, or SIGSTOP will cause the entire command to be considered "aborted" and if part of a command runs after this has occurred it will return a 124 exit code. Other signals will just be forwarded to the command.

Defaults to "SIGTERM".

Parameters

optional
signal: Deno.Signal