+17
−0
Loading
BSD platforms lack either pwdx or proc contents with this information. However, this is available via lsof. Using this for BSD platforms. This was tested by running sysTools.getPwd() on OSX - hopefully it should work on Free/OpenBSD too. Fix is thanks to Sebastian. https://trac.torproject.org/projects/tor/ticket/4236