Open Bug 1794704 Opened 3 years ago Updated 3 years ago

Add a way to break away from a job on Windows with PR_CreateProcess

Categories

(NSPR :: NSPR, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned)

Details

Firefox uses JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE on Windows to close all subprocesses when shutting down. I want to get a way to prevent this so that certain background tasks can outlive the main process.

I'd like to make PR_CreateProcess support an option to pass CREATE_BREAKAWAY_FROM_JOB flag.

Summary: Add a way to break away from a job on Windows → Add a way to break away from a job on Windows with PR_CreateProcess
You need to log in before you can comment on or make changes to this bug.