Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

365 B
Raw Blame

wezterm.procinfo.executable_path_for_pid(pid)

{{since('20220807-113146-c2fee766')}}

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"