Skip to main content
Module

x/proc/mod1.ts>stderrToStdoutStringAsyncIterableOutput

A better way to work with processes in Deno.
Go to Latest
function stderrToStdoutStringAsyncIterableOutput
import { stderrToStdoutStringAsyncIterableOutput } from "https://deno.land/x/proc@0.21.5/mod1.ts";

Redirects stderr into stdout so that you get both, as lines, for output.

The order of the lines is not guaranteed. The timing of the lines is not guaranteed. The operation is fully unbuffered so that the lines come out in the correct order, at least as much as possible.

Parameters

optional
errorHandler: ErrorHandler = [UNSUPPORTED]

Custom error handler.