[Python-checkins] r67962 - python/branches/py3k/Doc/library/subprocess.rst
georg.brandl
python-checkins at python.org
Sat Dec 27 20:08:11 CET 2008
Author: georg.brandl
Date: Sat Dec 27 20:08:11 2008
New Revision: 67962
Log:
#4697: clarify that the functions are Unix-only.
Modified:
python/branches/py3k/Doc/library/subprocess.rst
Modified: python/branches/py3k/Doc/library/subprocess.rst
==============================================================================
--- python/branches/py3k/Doc/library/subprocess.rst (original)
+++ python/branches/py3k/Doc/library/subprocess.rst Sat Dec 27 20:08:11 2008
@@ -197,6 +197,8 @@
>>> subprocess.getstatusoutput('/bin/junk')
(256, 'sh: /bin/junk: not found')
+ Availability: UNIX.
+
.. function:: getoutput(cmd)
Return output (stdout and stderr) of executing *cmd* in a shell.
@@ -208,6 +210,8 @@
>>> subprocess.getoutput('ls /bin/ls')
'/bin/ls'
+ Availability: UNIX.
+
Exceptions
^^^^^^^^^^
More information about the Python-checkins
mailing list