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

x/proc/legacy/examples/deps.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.7/legacy/examples/deps.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.