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

x/dtils/mod.unstable.ts>sh

The best unofficial library of utilities for Deno applications
Go to Latest
function sh
import { sh } from "https://deno.land/x/dtils@2.3.1/mod.unstable.ts";

Executes command in default shell, printing the command's output. Throws if command exits with a non-zero status

Parameters

command: string
optional
options: ExecOptions = [UNSUPPORTED]

Returns

Promise<void>