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

x/proc/src/process.ts>Process#close

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method Process.prototype.close
import { Process } from "https://deno.land/x/proc@0.20.22/src/process.ts";

Do all necessary normal steps to close the process. This does not kill the process but attempts a normal close.

Returns

Promise<void>