Skip to content

ChildHandle

Defined in: packages/core/src/kernel/types.ts:618

Handle returned by spawn().

stdin/stdout/stderr are present only when the spawn created pipes for them (i.e., the caller did NOT pass explicit fds in SpawnOpts for those streams). When the child inherits the parent’s fds, these are undefined.

readonly pid: Pid

Defined in: packages/core/src/kernel/types.ts:619


readonly optional stderr?: Readable

Defined in: packages/core/src/kernel/types.ts:622


readonly optional stdin?: Writable

Defined in: packages/core/src/kernel/types.ts:620


readonly optional stdout?: Readable

Defined in: packages/core/src/kernel/types.ts:621

wait(): Promise<ExitCode>

Defined in: packages/core/src/kernel/types.ts:623

Promise<ExitCode>