Skip to main content
Module

x/proc/mod1.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.25/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.