[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git] / llvm / utils / gn / build / run_built_binary.py
blobabe606f022b5830f1a85e1a024b443d0905aecf0
1 #!/usr/bin/env python3
2 """Runs a built binary."""
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:]))