run_tablegen.py 206 Bytes
#!/usr/bin/env python
"""Runs tablegen."""

import subprocess
import sys

# Prefix with ./ to run built binary, not arbitrary stuff from PATH.
sys.exit(subprocess.call(['./' + sys.argv[1]] + sys.argv[2:]))