def run_and_read(view, cmd):
    out, err = subprocess.Popen([cmd],
            stdout=PIPE,
            stderr=PIPE,
            shell=True).communicate()
    try:
        return (out or err).decode('utf-8')
    except __HOLE__:
        return ''
dataset/ETHPy150Open guillermooo/Vintageous/ex/plat/linux.py/run_and_read