Skip to content

Interface: AppKitChildProcessOptions

Readiness and tree-shutdown policy for an AppKit child process.

  • KillOptions

optional forceSignal?: false | Signals

Signal sent to survivors. false disables forced termination. Defaults to SIGKILL.

exec.KillOptions.forceSignal


optional forceTimeoutMs?: number

Time to poll and force newly discovered descendants. Defaults to 4 seconds.

exec.KillOptions.forceTimeoutMs


optional gracefulSignal?: false | Signals

Signal sent to the snapshotted process tree. false skips this phase. Defaults to SIGTERM.

exec.KillOptions.gracefulSignal


optional gracefulSignalTarget?: "root" | "tree"

Processes receiving the graceful signal. Defaults to the complete process tree.

exec.KillOptions.gracefulSignalTarget


optional gracefulTimeoutMs?: number

Time to wait for graceful shutdown. Defaults to 10 seconds.

exec.KillOptions.gracefulTimeoutMs


optional healthCheck?: AppKitChildProcessHealthCheck

Optional readiness probe polled after the process is spawned.


optional healthCheckIntervalMs?: number

Delay between readiness probes. Defaults to 200 milliseconds.


optional healthCheckTimeoutMs?: number

Maximum time allowed for readiness. Defaults to 30 seconds.


optional pollIntervalMs?: number

Interval used to refresh and poll the process tree. Defaults to 100 milliseconds.

exec.KillOptions.pollIntervalMs