• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

giampaolo / psutil / 3520 / 3
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 02 May 2020 10:23PM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 May 2020 10:19PM UTC coverage: 90.351% (-0.2%) from 90.528%
3520.3

push

travis-ci

web-flow
Process wait() improvements (#1747)

* `Process.wait()` on POSIX now returns an `enum` showing the negative which was used to terminate the process:
```python
>>> import psutil
>>> p = psutil.Process(9891)
>>> p.terminate()
>>> p.wait()
<Negsignal.SIGTERM: -15>
```

* the return value is cached so that the exit code can be retrieved on then next call, mimicking `subprocess.Popen.wait()`
* `Process` object provides more `status` and `exitcode` additional info on `str()` and `repr()`:

```
 >>> proc
 psutil.Process(pid=12739, name='python3', status='terminated', exitcode=<Negsigs.SIGTERM: -15>, started='15:08:20')
```

Extra:
* improved `wait()` doc
* reverted #1736: `psutil.Popen` uses original `subprocess.Popen.wait` method (safer)

2191 of 2425 relevant lines covered (90.35%)

0.9 hits per line

Source Files on job 3520.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3131
  • Travis Job 3520.3
  • 42368e6a on github
  • Prev Job for on master (#3513.3)
  • Next Job for on master (#3528.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc