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

x/dtils/lib/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@1.6.2/lib/sh.ts";

Executes shell code. Returns the exit code of the sh runner

Parameters

command: string

Shell code to be executed

optional
options: ShOptions = [UNSUPPORTED]

Returns

Promise<number>