Make b2g app ensure that it's the process group controller

RESOLVED FIXED

Status

Firefox OS
General
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dhylands, Assigned: dhylands)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Normally, the b2g app is the process group controller, but it turns out that if b2g is launched from an adb shell then the shell winds up being the process controller.

Since the profile script launches b2g using adb shell, this has the side effect of not being able to signal the process group.
(Assignee)

Comment 1

6 years ago
Created attachment 666069 [details] [diff] [review]
Call setsid to ensure that the b2g app is the process controller.
Attachment #666069 - Flags: review?(jones.chris.g)
Attachment #666069 - Flags: review?(jones.chris.g) → review+
https://hg.mozilla.org/mozilla-central/rev/93e76aaf8615
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.