diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-04-11 11:10:20 +0200 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-04-11 11:10:20 +0200 |
commit | ba882fc691522f70c42afb9d8f89e86421a8d994 (patch) | |
tree | e3c94954928520b2dccd523ae1fc01fe34d5f130 | |
parent | b8b41aad9abbf251397e8de5709a0e561463da85 (diff) | |
download | psutil-ba882fc691522f70c42afb9d8f89e86421a8d994.tar.gz |
update is_running() docstring
-rw-r--r-- | psutil/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py index 1198e09a..19493f83 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -661,7 +661,10 @@ class Process(object): return self._platform_impl.get_connections(kind) def is_running(self): - """Return whether this process is running.""" + """Return whether this process is running. + It also checks if PID has been reused by another process in + which case returns False. + """ if self._gone: return False try: |