summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-04-24 13:46:29 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-04-24 13:46:29 +0200
commit1d6df8d52530c6143dcd0260bbcfd384d1315c8f (patch)
treed2ed5844bb1d3e7c771661766f9cd6c53d6de2d1
parentee722d4a14224e2331a8b7e44af0e5f6755c0c03 (diff)
downloadpsutil-1d6df8d52530c6143dcd0260bbcfd384d1315c8f.tar.gz
update README
-rw-r--r--README.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 4f23b2a2..a8d62bd2 100644
--- a/README.rst
+++ b/README.rst
@@ -397,6 +397,8 @@ Further process APIs
Popen wrapper:
+.. code-block:: python
+
>>> import psutil
>>> from subprocess import PIPE
>>> p = psutil.Popen(["/usr/bin/python", "-c", "print('hello')"], stdout=PIPE)