Skip to content

wakterm.procinfo.current_working_dir_for_pid(pid)

Since: Version 20220807-113146-c2fee766

The functionality described in this section requires version 20220807-113146-c2fee766 of wakterm, or a more recent version.

Returns the current working directory for the specified process id.

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

> wakterm.procinfo.current_working_dir_for_pid(wakterm.procinfo.pid())
"/home/wez/wez-personal/wakterm"