Skip to content

Add helpers to read the executable path for a given PID

Tobias Berner requested to merge berner/kwayland-server:executable_path into master

Linux systems use the procfs system via.

/proc/${pid}/exe

On FreeBSD the executable path can be queried using the sysctl via

{ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, ${pid} }

can be used.

Merge request reports