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

x/proc/legacy/runners/handlers/stderr-to-stdout-string-asynciterable.ts>stderrToStdoutStringAsyncIterableOutput

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function stderrToStdoutStringAsyncIterableOutput
import { stderrToStdoutStringAsyncIterableOutput } from "https://deno.land/x/proc@0.20.5/legacy/runners/handlers/stderr-to-stdout-string-asynciterable.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.