import { denoExeca } from "https://deno.land/x/ndeno@v2.1.2/src/deps.ts";
Safe execution of sub-processes
Automatically kill child processes when the master process exits
requires the --allow-run
and --allow-env
flag.
Examples
Example 1
Example 1
import { execa } from "https://deno.land/x/easy_std@version/src/process.ts";
await execa(['npm', 'install', 'koa']) // Safe invocation of child processes
Parameters
optional
options: Deno.CommandOptions = [UNSUPPORTED]