Confirming CREATE_BREAKAWAY_FROM_JOB does the work. My theory is that bug 1740619 started to put all the subprocesses into a job which will be terminated later by the launcher, on Windows. And we don't want that for background tasks for obvious reasons.
Bug 1791675 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Confirming CREATE_BREAKAWAY_FROM_JOB does the work. My theory is that bug 1740619 started to put all the subprocesses into a job which will be terminated later by the launcher, on Windows. And we don't want that for background tasks for obvious reasons. Now we need an API to do this cleanly, since I don't want to touch ancient nspr for this 🙂