end18 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Implement process getcwd() on FreeBSD #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently process getcwd() method which retrieves the current process directory 
of a process is supported only on Linux and Windows.
It seems we can retrieve this information on FreeBSD as well by using the kvm_* 
functions:
http://www.google.com/codesearch/p?hl=en#pFm0LxzAWvs/darwinsource/tarballs/other
/lsof-28.tar.gz%7CiuEfJEQnleI/lsof-28/lsof/dialects/darwin/kmem/dproc.c&q=lang:c
%20fd.fd_cdir&l=244

Original issue reported on code.google.com by g.rodola on 1 Mar 2011 at 10:48

GoogleCodeExporter commented 9 years ago
This is now done in r1164.

Original comment by g.rodola on 14 Oct 2011 at 9:28

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 17 Oct 2011 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 21 Oct 2011 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 21 Oct 2011 at 11:45

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 29 Oct 2011 at 3:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r1164 == revision 1b5fe9a4d143

Original comment by g.rodola on 2 Mar 2013 at 11:59