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

x/dtils/lib/sh.ts>shIgnore

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

Executes shell code and ignores the output, except when the program is unsuccessful. In that case, the stderr is printed.

Parameters

command: string

Shell code to be executed

optional
options: ShIgnoreOptions = [UNSUPPORTED]