Skip to main content
Module

x/simple_utility/mod.ts>runCommand

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

Run command as subprocess.

Examples

Example 1

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

Parameters

...commands: string[]

Returns

Promise<boolean>