current_working_dir_for_pid

On this page
  1. wakterm.procinfo.current_working_dir_for_pid(pid)

wakterm.procinfo.current_working_dir_for_pid(pid)#

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"
Edit this page