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

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