ladybird/Meta/gn/build/run_compiled_binary.py

8 lines
213 B
Python

#!/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:]))