Commit 7d41890d authored by Georg Brandl's avatar Georg Brandl

#4697: clarify that the functions are Unix-only.

parent 371ccfb5
...@@ -197,6 +197,8 @@ This module also defines four shortcut functions: ...@@ -197,6 +197,8 @@ This module also defines four shortcut functions:
>>> subprocess.getstatusoutput('/bin/junk') >>> subprocess.getstatusoutput('/bin/junk')
(256, 'sh: /bin/junk: not found') (256, 'sh: /bin/junk: not found')
Availability: UNIX.
.. function:: getoutput(cmd) .. function:: getoutput(cmd)
Return output (stdout and stderr) of executing *cmd* in a shell. Return output (stdout and stderr) of executing *cmd* in a shell.
...@@ -208,6 +210,8 @@ This module also defines four shortcut functions: ...@@ -208,6 +210,8 @@ This module also defines four shortcut functions:
>>> subprocess.getoutput('ls /bin/ls') >>> subprocess.getoutput('ls /bin/ls')
'/bin/ls' '/bin/ls'
Availability: UNIX.
Exceptions Exceptions
^^^^^^^^^^ ^^^^^^^^^^
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment