Expand description
Process service for managing child processes
This service provides process lifecycle management for CLI commands,
particularly for the dev and run commands that need to manage
multiple node processes.
This is a thin wrapper around mecha10-runtime’s ProcessManager, delegating core process management to the runtime layer.
The implementation is split across a few focused submodules, all of
which add impl ProcessService blocks for the struct defined here:
- [
resolve]: binary path resolution (framework dev mode, global installs, node-runner) - [
spawn]: plain process spawning primitives (inherited/piped output, env, working dir) - [
spawn_node]: node-oriented spawning (node-runner, standalone/direct) - [
control]: status, stop/restart, and cleanup of tracked processes - [
build]: cargo build helpers used before spawning nodes
Structs§
- Process
Service - Process service for managing child processes