Artifact c8fb5b6a7a9a67a2b688fa5df9a1c9cc6fbf0c0320ad1c1f3d5e6e652c8d2858:
- File docs/manual/processes.md — part of check-in [cef29b55cb] at 2026-11-21 16:04:45 on branch docs-help — pic help [TOPIC] and /help TOPIC: the manual and reference compiled in (src/manual.inc, built, not committed); pic --help is a 27-line synopsis; help.sh tests both and checks the synopsis against docs/reference/cli.md; doc fixes: Alt+P picks a model, 36 RPC commands, more differences from Pi (user: dmestas, size: 820) [annotate] [blame] [check-ins using] [more...]
Processes
pic ps lists the processes pic itself started that are still running: hooks (sync and async), bash
tool and ! commands, and the terminal interface's request children. pic ps --all adds those
finished in the last 7 days, with their exit status; --json prints JSON. pic ps --kill ID (or
--kill --all) sends SIGTERM to the recorded process group, then SIGKILL after 3 seconds, and only
to a process that is still the one recorded (its pid is alive and its start time matches, so a
reused pid is never signaled). The records live in ~/.pic/pic.sqlite, so they span workspaces. At
startup pic prints one line to stderr, at most once an hour, if processes of earlier runs are still
running. It is not a watcher: it lists what pic recorded. Processes a hook script starts on its own
are not tracked.