Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d41890

Browse files
committed
#4697: clarify that the functions are Unix-only.
1 parent 371ccfb commit 7d41890

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/subprocess.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ This module also defines four shortcut functions:
197197
>>> subprocess.getstatusoutput('/bin/junk')
198198
(256, 'sh: /bin/junk: not found')
199199

200+
Availability: UNIX.
201+
200202

201203
.. function:: getoutput(cmd)
202204
Return output (stdout and stderr) of executing *cmd* in a shell.
@@ -208,6 +210,8 @@ This module also defines four shortcut functions:
208210
>>> subprocess.getoutput('ls /bin/ls')
209211
'/bin/ls'
210212

213+
Availability: UNIX.
214+
211215

212216
Exceptions
213217
^^^^^^^^^^

0 commit comments

Comments
 (0)