process_start
Start and manage long-running local processes that exceed timeout limits, returning an ID for output polling and termination.
Instructions
Start a long-running allowlisted local process and return its id for output/kill calls. Startup is coordinated by the shared scheduler; after successful spawn the managed process runs independently under ProcessManager ownership. It has no timeout: poll process_output and stop it with process_kill. Use it for runs that may exceed command_run's 240000 ms cap. Coding-agent CLIs (claude, codex, agent, cursor-agent) get a closed stdin; use a streaming output mode such as claude -p --output-format stream-json --verbose so progress is visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| args | No | ||
| agent | No | Optional existing runtime binding for monitor attribution; no extra handshake. | |
| command | Yes |