diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-01-09 11:01:51 -0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-01-09 11:01:51 -0800 |
commit | 90b4cef4b62125c8a42bef4a9db9b9e17459bd6d (patch) | |
tree | 10f768540fd8be65f12e98bc3323d28329584378 | |
parent | 1977211883693ee9eb07f920de4755ecd3edc672 (diff) | |
download | psutil-90b4cef4b62125c8a42bef4a9db9b9e17459bd6d.tar.gz |
#1020: remove doc part mentionin open_files() on win is only able to list files living on the C drive
-rw-r--r-- | docs/index.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/index.rst b/docs/index.rst index dc025642..d69e1fac 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1807,13 +1807,12 @@ Process class on Windows this method is not reliable due to some limitations of the underlying Windows API which may hang when retrieving certain file handles. - In order to work around that psutil spawns a thread for each handle and - kills it if it's not responding after 100ms. + In order to work around that psutil spawns a thread to determine the file + handle name and kills it if it's not responding after 100ms. That implies that this method on Windows is not guaranteed to enumerate all regular file handles (see `issue 597 <https://github.com/giampaolo/psutil/pull/597>`_). - Also, it will only list files living in the C:\\ drive (see - `issue 1020 <https://github.com/giampaolo/psutil/pull/1020>`_). + Tools like ProcessHacker has the same limitation. .. warning:: on BSD this method can return files with a null path ("") due to a |