wezterm.procinfo.pid()

Since: 20220807-113146-c2fee766

Returns the process id for the current process.