Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371ccfb commit 7d41890Copy full SHA for 7d41890
1 file changed
Doc/library/subprocess.rst
@@ -197,6 +197,8 @@ This module also defines four shortcut functions:
197
>>> subprocess.getstatusoutput('/bin/junk')
198
(256, 'sh: /bin/junk: not found')
199
200
+ Availability: UNIX.
201
+
202
203
.. function:: getoutput(cmd)
204
Return output (stdout and stderr) of executing *cmd* in a shell.
@@ -208,6 +210,8 @@ This module also defines four shortcut functions:
208
210
>>> subprocess.getoutput('ls /bin/ls')
209
211
'/bin/ls'
212
213
214
215
216
Exceptions
217
^^^^^^^^^^
0 commit comments