Module

x/proc/legacy/runners/stderr-support.ts>stderrLinesToErrorMessage

A better way to work with processes in Deno.
Very Popular
Go to Latest
function stderrLinesToErrorMessage
import { stderrLinesToErrorMessage } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/runners/stderr-support.ts";

Write stderr lines to the error message, if the process fails; otherwise, stderr is suppressed.

Parameters

optional
tail = [UNSUPPORTED]

The number of lines at the end of stderr to keep.

Returns

(bytes: AsyncIterable<Uint8Array>) => Promise<string[]>