def execCMD(self, cmd, arg):
        result = subprocess.check_output([cmd, arg])
        result = result.decode('utf-8')
        return result
Take a system command and its argument, then return the result.
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/sysdata.py/GetData.execCMD