Skip to main content

spawn_supervisor_process

Function spawn_supervisor_process 

Source
pub fn spawn_supervisor_process(
    job_dir: &JobDir,
    params: SpawnSupervisorParams,
) -> Result<(u32, String)>
Expand description

Spawn the supervisor process and write the initial running state to state.json.

Returns the supervisor PID and the actual started_at timestamp. Also handles the Windows Job Object handshake before returning.