diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 588b3e1bbd7..57b83d366ff 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -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 ^^^^^^^^^^