Skip to content

Commit 133abfb

Browse files
committed
Docs(docs): Correct provider fallback
why: The resurrect topic still described a ps fallback after the default process provider became procfs-only. what: - Document procfs-only default command capture - Mention PsProcessCommandProvider as explicit opt-in
1 parent 12d67f8 commit 133abfb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/topics/resurrect.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ server = Server()
6767
archive = capture_archive(server, process_provider=default_process_command_provider())
6868
```
6969

70-
The default provider chain reads Linux procfs first and falls back to `ps`, so
71-
it works headlessly on common POSIX systems. On unsupported systems it simply
72-
leaves `full_command` empty.
70+
The default provider reads Linux procfs and leaves `full_command` empty when
71+
procfs cannot resolve the foreground process. Use
72+
{class}`~libtmux.resurrect.PsProcessCommandProvider` explicitly when you want a
73+
`ps`-based provider.
7374

7475
## tmux-resurrect Files
7576

0 commit comments

Comments
 (0)