runtime_sandboxes_process
Work with a process started by runtime_sandboxes_exec background: true. action read: output after cursor (pass the returned nextCursor next time; waitMs up to 8000 holds the call until there is output), with state and exitCode. write: send input text (the process needs stdinMode pipe or a pty). signal: SIGTERM by default, SIGKILL for the whole tree. list: every running and recent process in the sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| eof | No | ||
| data | No | ||
| action | Yes | ||
| cursor | No | ||
| signal | No | ||
| waitMs | No | ||
| processId | No | Resource identifier. |