Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function runCommand
import { runCommand } from "https://deno.land/x/simple_utility@v1.4.1/src/process.deno.ts";

Run command as subprocess.

Examples

Example 1

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

Parameters

...commands: string[]

Returns

Promise<boolean>