assign_pid_to_job

Function assign_pid_to_job 

Source
pub fn assign_pid_to_job(pid: u32, job: HANDLE) -> Result<(), String>
Expand description

Assign a process to the launcher’s Job Object J0. Used by spawn_srv for srv and exported for main.rs to use for the host. Separated from job creation because both children join the SAME job (only one J0 ever exists per launcher run).