Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_utility/mod.ts>runCommand

Useful snippet collection.
Go to Latest
function runCommand
import { runCommand } from "https://deno.land/x/simple_utility@v1.5.2/mod.ts";

Run command as subprocess.

Examples

Example 1

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

Parameters

...commands: string[]

Returns

Promise<boolean>