def _run(argv, cwd=None):
    log.debug("run '%s'", ' '.join(argv))
    try:
        return subprocess.check_call(argv, cwd=cwd)
    except __HOLE__:
        _, err, _ = sys.exc_info()
        import errno
        if err.errno == errno.ENOENT:
            raise OSError(errno.ENOENT, "'%s' not found" % argv[0])
        else:
            raise
dataset/ETHPy150Open trentm/sources/lib/sources.py/_run