wezterm.procinfo.pid()

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

Returns the process id for the current process.