<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/docs/Makefile, branch disk-swaps</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>Process wait() improvements (#1747)</title>
<updated>2020-05-02T22:19:53+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-05-02T22:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=42368e6a786415d932cb48d0fd006a0c302ab31b'/>
<id>42368e6a786415d932cb48d0fd006a0c302ab31b</id>
<content type='text'>
* `Process.wait()` on POSIX now returns an `enum` showing the negative which was used to terminate the process:
```python
&gt;&gt;&gt; import psutil
&gt;&gt;&gt; p = psutil.Process(9891)
&gt;&gt;&gt; p.terminate()
&gt;&gt;&gt; p.wait()
&lt;Negsignal.SIGTERM: -15&gt;
```

* 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()`:

```
 &gt;&gt;&gt; proc
 psutil.Process(pid=12739, name='python3', status='terminated', exitcode=&lt;Negsigs.SIGTERM: -15&gt;, started='15:08:20')
```

Extra:
* improved `wait()` doc
* reverted #1736: `psutil.Popen` uses original `subprocess.Popen.wait` method (safer)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `Process.wait()` on POSIX now returns an `enum` showing the negative which was used to terminate the process:
```python
&gt;&gt;&gt; import psutil
&gt;&gt;&gt; p = psutil.Process(9891)
&gt;&gt;&gt; p.terminate()
&gt;&gt;&gt; p.wait()
&lt;Negsignal.SIGTERM: -15&gt;
```

* 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()`:

```
 &gt;&gt;&gt; proc
 psutil.Process(pid=12739, name='python3', status='terminated', exitcode=&lt;Negsigs.SIGTERM: -15&gt;, started='15:08:20')
```

Extra:
* improved `wait()` doc
* reverted #1736: `psutil.Popen` uses original `subprocess.Popen.wait` method (safer)</pre>
</div>
</content>
</entry>
<entry>
<title>refactor print colors utils</title>
<updated>2020-02-15T16:46:21+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-15T16:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=a8c9e878d5b43cbb729187ae6e1304eebd09b8dc'/>
<id>a8c9e878d5b43cbb729187ae6e1304eebd09b8dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor doc</title>
<updated>2020-02-12T01:44:33+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-12T01:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=3e2ee4f26f171e05b9b38a270c6baab63edb3f7e'/>
<id>3e2ee4f26f171e05b9b38a270c6baab63edb3f7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>migration towards RTD doc theme</title>
<updated>2017-09-07T08:02:13+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-09-07T08:02:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=274d6f63dbab0603d4cc714fa0ea4e5f7f5de883'/>
<id>274d6f63dbab0603d4cc714fa0ea4e5f7f5de883</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make sphinx build more friendly towards user installations</title>
<updated>2016-07-10T16:07:54+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2016-07-10T16:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=d923075e2469a5fd62f5e21ecf2abe3bb46c69d5'/>
<id>d923075e2469a5fd62f5e21ecf2abe3bb46c69d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix issue #468: provide RST based documentation</title>
<updated>2014-02-24T00:12:45+00:00</updated>
<author>
<name>Giampaolo Rodola'</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2014-02-24T00:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=d42ec4fcd297b7cc3c072573df7532df640b1ed0'/>
<id>d42ec4fcd297b7cc3c072573df7532df640b1ed0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>removing docs committed by accident</title>
<updated>2013-12-21T18:29:56+00:00</updated>
<author>
<name>Giampaolo Rodola'</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2013-12-21T18:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=0a98a9da3a0e670390b9b79a98fd9878ac3bdb5c'/>
<id>0a98a9da3a0e670390b9b79a98fd9878ac3bdb5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add readthedocs files</title>
<updated>2013-12-21T18:09:51+00:00</updated>
<author>
<name>Giampaolo Rodola'</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2013-12-21T18:09:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=f38330d20a61cdae4b4778523752ac9fb6bd59ad'/>
<id>f38330d20a61cdae4b4778523752ac9fb6bd59ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
