def getoutput(cmd):
    return getstatusoutput(cmd)[1]


# Ditto but preserving the exit status.
# Returns a pair (sts, output)
#
Return output (stdout or stderr) of executing cmd in a shell.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/commands.py/getoutput