, C-.
, whay GetProcessImageFileName() QueryFullProcessImageName() ( , , /UNC-), , .
, .
_psutil_mswindows.c ( 502):
if (GetProcessImageFileName(hProcess, &exe, nSize) == 0) {
CloseHandle(hProcess);
if (GetLastError() == ERROR_INVALID_PARAMETER) {
AccessDenied();
}
else {
PyErr_SetFromWindowsErr(0);
}
return NULL;
}
EDIT:
, , . Win7 SP1 x64 Python 2 (2.7.6) psutil.Process: exe, get_ionice(), get_memory_maps(), get_nice(), get_cwd()/getcwd(), get_open_files(), name, nice username.
, , - Windows-, , psutil , The Wrong Way ™ ( , Microsoft).