process_stop
Stops a background process and returns any output it had not yet shown. Use it as soon as a process is no longer needed — one left running holds its port and its files. Runs a shell command, so it is gated by your approval mode.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string |
Yes | The id returned by process_start |
Example#
process_stop({ id: "…" })
Approval#
Gated by the approval mode.
See also#
- Tools — every tool, and which of them can change your files
- Approval modes — what gates the tools that change things
Added in woopcode@0.6.0