Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.6.0/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>