summaryrefslogtreecommitdiff
path: root/HISTORY.rst
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-05-02 15:32:17 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2020-05-02 15:32:17 +0200
commitd090aac2ce9aa46ee469d4c0c14fc21061b78d72 (patch)
tree17a33f4656be58c9ae98106d25eeb176d6bbdfc9 /HISTORY.rst
parentd7afd749a84510da139679be684ff4f6f79fa330 (diff)
downloadpsutil-wait-exit-code.tar.gz
Enhance Process repr and add exit codewait-exit-code
Show exit code if wait() was used and also use cached name if name() fails.
Diffstat (limited to 'HISTORY.rst')
-rw-r--r--HISTORY.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst
index af75ee84..4b25bb97 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -12,6 +12,11 @@ XXXX-XX-XX
on UNIX.
- XXXX_: Process.wait() return value is cached so that the exit code can be
retrieved on then next call.
+- XXXX_: Process provides more info about the process on str() and repr()
+ (status and exit code). Example:
+ >>> proc
+ psutil.Process(pid=12739, name='python3', status='terminated', exitcode=-9,
+ started='15:08:20')
**Bug fixes**