# pi-processes: v0.12.0

release · 2026-08-27 · #pi-processes · v0.12.0

### Minor Changes

- 860d98e: Add an adopt API so other extensions can hand an already-running child process over to the manager. `ProcessManager.adopt(name, command, cwd, child, { initialStdout, initialStderr, startTime })` registers an externally spawned child (detached process group, piped stdio) as a managed process, and the new `processes:command:adopt` event-bus channel exposes it cross-extension. Adopted processes get the full managed lifecycle: log capture (including output produced before the handover), liveness watching, kill/stop, notifications, and dock/`/ps` visibility. This enables tools like a bash override that moves a long-running foreground command into the background without losing output.

- [GitHub release](https://github.com/aliou/pi-processes/releases/tag/v0.12.0)
- [npm](https://www.npmjs.com/package/@aliou/pi-processes/v/0.12.0)
