pwdx command shows the working path of a process

  pwdx 1984
> 1984: /home/nk