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

x/dtils/lib/sh.ts>shCapture

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

Executes shell code and captures the output.

Parameters

command: string

Shell code to be executed

optional
options: ShOptions = [UNSUPPORTED]