---
search:
  tags:
    - exec
    - GET
seo:
  description: >-
    A detached process is a command started by an exec with detach: true. It…
    Reference for the GET /v1/sandboxes/{sandbox}/processes endpoint in the
    pols.so API.
sidebar:
  label: List a running sandbox's detached processes
  badge: GET
title: List a running sandbox's detached processes
type: openapi-operation
---
A detached process is a command started by an exec with `detach:
true`. It runs on when the call that started it ends, in a session
of its own, with stdout and stderr combined into one output; the
sandbox keeps the last 1 MiB of it (in its memory, at most 32
processes: a start forgets the ones that ended longest ago). A
sandbox in standby freezes its processes with it; they go on when
it wakes. A stop ends them, and the sandbox forgets them when it
boots again. Oldest first. A key limited to a sandbox user sees,
reads and signals only that user's processes.

A process's start is recorded in the timeline like an exec; its
exit is recorded once pols sees it, on the next list or output
read; a signal does not record it.

`GET /v1/sandboxes/{sandbox}/processes`
