mirror of https://github.com/python/cpython.git
#4697: clarify that the functions are Unix-only.
This commit is contained in:
parent
371ccfb5f5
commit
7d41890dfa
|
@ -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
|
||||
^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue