Skip to main content

Module process

Module process 

Source
Expand description

Listing running processes for the “attach to process” debug launch mode.

Structs§

ProcInfo
A running process: pid + command (basename of the executable / argv0).

Functions§

list_processes
List running processes via ps. Returns them sorted by pid descending (newest-ish first). Errors are surfaced as an empty list by the caller.
parse_ps
Parse ps -axo pid=,comm= output: each line is <pid> <command>.