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

x/ndeno/src/deps.ts>denoExeca

js runtime project management tool / js runtime 项目管理工具
Latest
function denoExeca
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

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]