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.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Throws
Section titled “Throws”When the runtime cannot fork, or the fork itself throws.