woopcode docs
v1.0.0 GitHub

process_output

Returns what a background process has printed since the last time this was called for it, along with whether it is still running. Output already returned is not repeated. 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_output({ 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