def run_and_read(view, cmd):
    out, err = subprocess.Popen(['cmd.exe', '/c', cmd],
                                stdout=PIPE,
                                stderr=PIPE,
                                shell=True,
                                startupinfo=get_startup_info()).communicate()
    try:
        return (out or err).decode(get_oem_cp()).replace('\r\n', '\n')
    except __HOLE__:
        return ''
dataset/ETHPy150Open guillermooo/Vintageous/ex/plat/windows.py/run_and_read