import { ProcChildProcess } from "https://deno.land/x/proc@0.20.2/src/proc-readable-stream.ts";
Constructors
new
ProcChildProcess(child: Deno.ChildProcess)Properties
private
_stderr: ProcReadableStream<Uint8Array> | nullprivate
_stdout: ProcReadableStream<Uint8Array> | nullprotected
readonly
chainableOutput: ProcReadableStream<Uint8Array>Methods
asString()
The stdout
data as a string.
collect()
The bytes from stdout
.
Collect stdout
as lines of text.
kill(signo?: Deno.Signal)
output()
pipeThrough<T>(transform: { writable: WritableStream<Uint8Array>; readable: ReadableStream<T>; }, options?: PipeOptions): ProcReadableStream<T>
ref()
Run a process.
run(cmd: string, ...args: string[]): ProcChildProcess
Run a process.
unref()