TIL -- Today I learned

pwdx command shows the working path of a process

source

For example:

% pwdx 1984
> 1984: /home/george/ttlctrl