Skip to main content
Module

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