diff options
| author | Georg Brandl <georg@python.org> | 2008-12-27 19:08:11 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-12-27 19:08:11 +0000 |
| commit | 7d41890dfa8ceac7d549146fe4e73fc3d86696c2 (patch) | |
| tree | 5a67e87da8eff48d4b1428a25745aa2c7772ef27 | |
| parent | 371ccfb5f5552d0c6abe501072aad0df9293f6fb (diff) | |
| download | cpython-git-7d41890dfa8ceac7d549146fe4e73fc3d86696c2.tar.gz | |
#4697: clarify that the functions are Unix-only.
| -rw-r--r-- | Doc/library/subprocess.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 588b3e1bbd..57b83d366f 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 ^^^^^^^^^^ |
