#4697: clarify that the functions are Unix-only.

This commit is contained in:
Georg Brandl 2008-12-27 19:08:11 +00:00
parent 371ccfb5f5
commit 7d41890dfa
1 changed files with 4 additions and 0 deletions

View File

@ -197,6 +197,8 @@ This module also defines four shortcut functions:
>>> 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 @@ This module also defines four shortcut functions:
>>> subprocess.getoutput('ls /bin/ls')
'/bin/ls'
Availability: UNIX.
Exceptions
^^^^^^^^^^