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

x/simple_utility/src/deno/process.ts>runCommand

Simplify processing for Deno.
Go to Latest
function runCommand
import { runCommand } from "https://deno.land/x/simple_utility@v2.0.9/src/deno/process.ts";

Run command as subprocess.

Examples

Example 1

const success = await runCommand("echo", "foobar");

Parameters

...commands: string[]

Returns

Promise<boolean>