Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/subprocess/mod.ts>output

Deno Standard Extensions
Go to Latest
function output
import { output } from "https://deno.land/x/yxz@0.17.0/subprocess/mod.ts";

Capture stdout output from a command.

stderr is default to null.

Parameters

cmd: string[]
optional
opts: Omit<RunOptions, "stdout">

Returns

Promise<string>