Files
LLeMbas-TTY/docs/config/lua/wezterm.procinfo/executable_path_for_pid.md
T

356 B

wezterm.procinfo.executable_path_for_pid(pid)

Since: nightly builds only

Returns the path to the executable image for the specified process id.

This function may return nil if it was unable to return the info.

> wezterm.procinfo.executable_path_for_pid(wezterm.procinfo.pid())
"/home/wez/wez-personal/wezterm/target/debug/wezterm-gui"