Interface: AppKitChildProcessOptions
Readiness and tree-shutdown policy for an AppKit child process.
Extends
Section titled “Extends”KillOptions
Properties
Section titled “Properties”forceSignal?
Section titled “forceSignal?”
optionalforceSignal?:false|Signals
Signal sent to survivors. false disables forced termination. Defaults to SIGKILL.
Inherited from
Section titled “Inherited from”exec.KillOptions.forceSignal
forceTimeoutMs?
Section titled “forceTimeoutMs?”
optionalforceTimeoutMs?:number
Time to poll and force newly discovered descendants. Defaults to 4 seconds.
Inherited from
Section titled “Inherited from”exec.KillOptions.forceTimeoutMs
gracefulSignal?
Section titled “gracefulSignal?”
optionalgracefulSignal?:false|Signals
Signal sent to the snapshotted process tree. false skips this phase. Defaults to SIGTERM.
Inherited from
Section titled “Inherited from”exec.KillOptions.gracefulSignal
gracefulSignalTarget?
Section titled “gracefulSignalTarget?”
optionalgracefulSignalTarget?:"root"|"tree"
Processes receiving the graceful signal. Defaults to the complete process tree.
Inherited from
Section titled “Inherited from”exec.KillOptions.gracefulSignalTarget
gracefulTimeoutMs?
Section titled “gracefulTimeoutMs?”
optionalgracefulTimeoutMs?:number
Time to wait for graceful shutdown. Defaults to 10 seconds.
Inherited from
Section titled “Inherited from”exec.KillOptions.gracefulTimeoutMs
healthCheck?
Section titled “healthCheck?”
optionalhealthCheck?:AppKitChildProcessHealthCheck
Optional readiness probe polled after the process is spawned.
healthCheckIntervalMs?
Section titled “healthCheckIntervalMs?”
optionalhealthCheckIntervalMs?:number
Delay between readiness probes. Defaults to 200 milliseconds.
healthCheckTimeoutMs?
Section titled “healthCheckTimeoutMs?”
optionalhealthCheckTimeoutMs?:number
Maximum time allowed for readiness. Defaults to 30 seconds.
pollIntervalMs?
Section titled “pollIntervalMs?”
optionalpollIntervalMs?:number
Interval used to refresh and poll the process tree. Defaults to 100 milliseconds.
Inherited from
Section titled “Inherited from”exec.KillOptions.pollIntervalMs