I have a WebSocket application which spawns new process using JOB command.
Sometimes WebSocket connection can be terminated, and in the meantime I need to hold spawned process alive until it can be associated with the new WebSocket connection. (Do not suggest serializing process state here instead please)
Technically, in Caché WebSocket connection is represented by the class, which executes in its own process. This process is terminated when the connection is lost. In this case the JOBbed process does not terminates (thanks Edward), but it rely on $ZPARENT variable.
Is it possible to hold JOBbed process alive for a while? If yes, how to change
$zparent variable of the spawned process when the new "parent" process will be ready?