mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
#4697: clarify that the functions are Unix-only.
This commit is contained in:
parent
371ccfb5f5
commit
7d41890dfa
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue