[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / build / run_tablegen.py
blobc7694236be55f901262dce946a8e9f71238f8f02
1 #!/usr/bin/env python
2 """Runs tablegen."""
4 import subprocess
5 import sys
7 # Prefix with ./ to run built binary, not arbitrary stuff from PATH.
8 sys.exit(subprocess.call(['./' + sys.argv[1]] + sys.argv[2:]))