1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 13:15:02 +00:00
serenity/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:]))