Stupid script to get path working dir of a process