[DAEMON-68] appcd-subprocess: Implement SubprocessManager
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-04-08T08:55:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-subprocess |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-03-24T19:51:44.000+0000 |
Updated | 2017-10-26T03:05:21.000+0000 |
Description
With the daemon's plugin system spawning several subprocesses, there needs to be a central way to manage them. The SubprocessManager would expose an API via appcd-dispatcher handlers including the ability to spawn subprocesses, kill subprocesses, and gather stats about them.
It was an epic task that exposed several issues with the underlying response and error system and the observable object model, but it works like a champ.