From 7d41890dfa8ceac7d549146fe4e73fc3d86696c2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 27 Dec 2008 19:08:11 +0000 Subject: [PATCH] #4697: clarify that the functions are Unix-only. --- Doc/library/subprocess.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 ^^^^^^^^^^