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.
Properties
Section titled “Properties”
readonlypid:Pid
Defined in: packages/core/src/kernel/types.ts:619
stderr?
Section titled “stderr?”
readonlyoptionalstderr?:Readable
Defined in: packages/core/src/kernel/types.ts:622
stdin?
Section titled “stdin?”
readonlyoptionalstdin?:Writable
Defined in: packages/core/src/kernel/types.ts:620
stdout?
Section titled “stdout?”
readonlyoptionalstdout?:Readable
Defined in: packages/core/src/kernel/types.ts:621
Methods
Section titled “Methods”wait()
Section titled “wait()”wait():
Promise<ExitCode>
Defined in: packages/core/src/kernel/types.ts:623
Returns
Section titled “Returns”Promise<ExitCode>