(cmd)
return getstatusoutput(cmd)[1]
Return output (stdout or stderr) of executing cmd in a shell.

    Like getstatusoutput(), except the exit status is ignored and the return
    value is a string containing the command's output.  Example:

    >>> import subprocess
    >>> subprocess.getoutput('ls /bin/ls')
    '/bin/ls'
Return output (stdout or stderr) of executing cmd in a shell.
Return output ( stdout or stderr ) of executing cmd in a shell .
def getoutput(cmd):
    """Return output (stdout or stderr) of executing cmd in a shell.

    Like getstatusoutput(), except the exit status is ignored and the return
    value is a string containing the command's output.  Example:

    >>> import subprocess
    >>> subprocess.getoutput('ls /bin/ls')
    '/bin/ls'
    """
    return getstatusoutput(cmd)[1]
def getoutput ( cmd ) : return getstatusoutput ( cmd ) [ 1 ]