import { ProcChildProcess } from "https://deno.land/x/proc@0.20.17/src/api2/proc-readable-stream.ts";
Constructors
new
ProcChildProcess(child: Deno.ChildProcess)Properties
private
_stderr: ProcReadableStream<Uint8Array> | nullprivate
_stdout: ProcReadableStream<Uint8Array> | nullreadonly
stdout: 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(options: RunFnOptions, ...cmd: Cmd): ProcChildProcess
Run a process.
run(...cmd: Cmd): ProcChildProcess
Run a process.
unref()