def get_process_cwd(self): """Return process current working directory.""" # sometimes we get an empty string, in which case we turn # it into None return _psutil_bsd.get_process_cwd(self.pid) or None
def get_process_cwd(self): """Return process current working directory.""" return _psutil_bsd.get_process_cwd(self.pid)