Module
A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
devdocslegacysitesrctestsChainedErrorMultiCloseProcessMultiCloseReaderMultiCloseWriterNoCloseReaderProcessExitErrorWritableIterableGroupInputHandlerOutputHandlerRunnerRunOptionsPromiseOrIterableStandardInputsStderrProcessorbytesAsyncIterableInputbytesAsyncIterableOutputbytesAsyncIterableUnbufferedInputbytesAsyncIterableUnbufferedOutputbytesInputbytesOutputbytesToTextLinesdirnameemptyInputemptyOutputenableChaininggroupoptionalChainreaderInputreaderToBytesreaderToBytesUnbufferedreaderUnbufferedInputrun0runBrunnerrunSrunSasleepstderrLinesToConsoleErrorstderrLinesToErrorMessagestderrLinesToNullstderrToStdoutStringAsyncIterableOutputstringArrayInputstringArrayOutputstringAsyncIterableInputstringAsyncIterableOutputstringAsyncIterableUnbufferedInputstringAsyncIterableUnbufferedOutputstringInputstringOutputChainedErrorMultiCloseProcessMultiCloseReaderMultiCloseWriterNoCloseReaderProcessExitErrorWritableIterableGroupInputHandlerOutputHandlerRunnerRunOptionsPromiseOrIterableStandardInputsStderrProcessorbytesAsyncIterableInputbytesAsyncIterableOutputbytesAsyncIterableUnbufferedInputbytesAsyncIterableUnbufferedOutputbytesInputbytesOutputbytesToTextLinesdirnameemptyInputemptyOutputenableChaininggroupoptionalChainreaderInputreaderToBytesreaderToBytesUnbufferedreaderUnbufferedInputrun0runBrunnerrunSrunSasleepstderrLinesToConsoleErrorstderrLinesToErrorMessagestderrLinesToNullstderrToStdoutStringAsyncIterableOutputstringArrayInputstringArrayOutputstringAsyncIterableInputstringAsyncIterableOutputstringAsyncIterableUnbufferedInputstringAsyncIterableUnbufferedOutputstringInputstringOutput
mod.ts (default module)
c
c
c
c
c
c
c
I
I
I
I
I
T
T
T
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
mod1.ts
c
c
c
c
c
c
c
I
I
I
I
I
T
T
T
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f