Skip to main content

session_role_pid

Function session_role_pid 

Source
pub fn session_role_pid(session_home: &Path, role: &str) -> Option<u32>
Expand description

Read a session home’s <role>.pid (path-based, no WIRE_HOME read). Same JSON shape as daemon.pid. None if absent/corrupt.

#247 finding 4: lets the Windows identity-collision adapter walk list_sessions() × every inbox-owning role and reverse-map a candidate PID back to its serving WIRE_HOME without needing to read the remote process’s environment.