spawn_shell
Launch long-running processes like watchers and servers, then poll output, send input, or kill via returned proc_id.
Instructions
Spawn a long-running process. Returns a proc_id for follow-up calls.
Use this for watchers (watchexec, tail -f), servers, REPLs, or any
command you want to poll output from over time. For one-shot
commands use run_shell instead — it's simpler and auto-logs.
Returns proc_id which is passed to tail_shell_output, send_to_shell,
kill_shell, and wait_shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| repl_id | Yes | ||
| env_extra | No | ||
| use_shell | No |