Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/mod.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.5.0/mod.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>