repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git]
/
llvm
/
utils
/
gn
/
build
/
run_built_binary.py
blob
abe606f022b5830f1a85e1a024b443d0905aecf0
1
#!/usr/bin/env python3
2
"""Runs a built binary."""
3
4
import
subprocess
5
import
sys
6
7
# Prefix with ./ to run built binary, not arbitrary stuff from PATH.
8
sys
.
exit
(
subprocess
.
call
([
"./"
+
sys
.
argv
[
1
]] +
sys
.
argv
[
2
:]))