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

x/ndeno/src/deps.ts>denoExeca

js runtime project management tool / js runtime 项目管理工具
Go to Latest
function denoExeca
import { denoExeca } from "https://deno.land/x/ndeno@v2.0.4/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

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]