Skip to main content
Module

x/dtils/mod.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.8.0/mod.ts";

Executes shell code and captures the output.

Parameters

command: string

Shell code to be executed

optional
options: ShOptions = [UNSUPPORTED]