bolt/deps/llvm-18.1.8/llvm/utils/gn/build/run_built_binary.py

9 lines
213 B
Python
Raw Normal View History

2025-02-14 19:21:04 +01:00
#!/usr/bin/env python3
"""Runs a built binary."""
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:]))