Skip to content

forkCaptureChild

forkCaptureChild(options): ChildProcessHandle

Defined in: packages/core/src/capture/forked/fork.ts:49

Fork the capture child with an IPC channel and wrap it as a ChildProcessHandle.

The channel is also the lifeline: if this process dies the child sees disconnect and exits. An exit hook kills the child too, for parents that stop without a graceful teardown.

ForkOptions

ChildProcessHandle

When the runtime cannot fork, or the fork itself throws.