Skip to content

reportProcessOutput

reportProcessOutput(child, sink, scopeId?): Promise<void>

Defined in: packages/app-system/src/process/report-process.ts:41

Streams a running child’s output into a sink, one output event per line.

SpawnedProcess

The handle to read from; its stream must have been piped.

ISink<never>

The destination.

string | null

Attributes the events to an already-open scope.

Promise<void>

A promise resolving once the child has exited and every event has been written.