# pms-infra-procspawn `pty-infra-procspawn` is a library within the [`pty-mcp-server`](https://github.com/phoityne/pty-mcp-server) project that provides a structured interface for spawning and managing external processes. It allows AI agents to launch command-line tools or scripts, interact with their input/output streams, and monitor their execution in a controlled and composable way. --- ## Package Structure ![Package Structure](https://raw.githubusercontent.com/phoityne/pms-infra-procspawn/main/docs/01_package_structure.png) --- ## Module Structure ![Module Structure](https://raw.githubusercontent.com/phoityne/pms-infra-procspawn/main/docs/02_module_structure.png) ---