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

x/easy_std/src/process.ts>execa

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function execa
import { execa } from "https://deno.land/x/easy_std@v0.7.0/src/process.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

import { execa } from "https://deno.land/x/easy_std@version/src/process.ts";

await execa(['npm', 'install', 'koa']) // Safe invocation of child processes

Parameters

cmd: string[]
optional
options: Deno.CommandOptions = [UNSUPPORTED]