예제 #1
0
 def cwd(self):
     """Return process current working directory."""
     # sometimes we get an empty string, in which case we turn
     # it into None
     return cext.proc_cwd(self.pid) or None
예제 #2
0
파일: _psbsd.py 프로젝트: 2089764/psutil
 def cwd(self):
     """Return process current working directory."""
     # sometimes we get an empty string, in which case we turn
     # it into None
     return cext.proc_cwd(self.pid) or None