The killer job created for Windows when KillOnParentExit is true doesn't include the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag, which means there's no way for a child process to be created outside the job. There are scenarios where an application may need to be able to create a process outside the job to support scenarios like resource cleanup. Please consider updating the CreateKillOnParentExitJob method to set JOB_OBJECT_LIMIT_BREAKAWAY_OK on the created job object to allow child processes to be selectively created outside of the job when necessary.
The killer job created for Windows when
KillOnParentExitis true doesn't include theJOB_OBJECT_LIMIT_BREAKAWAY_OKflag, which means there's no way for a child process to be created outside the job. There are scenarios where an application may need to be able to create a process outside the job to support scenarios like resource cleanup. Please consider updating theCreateKillOnParentExitJobmethod to setJOB_OBJECT_LIMIT_BREAKAWAY_OKon the created job object to allow child processes to be selectively created outside of the job when necessary.