Sign in
fuchsia
/
third_party
/
swift
/
359fd1ca26d85e6453d0f06f4b09cb265b5efc1e
/
.
/
test
/
PlaygroundTransform
/
Inputs
/
not.py
blob: e7fd556d89a6c1611b70f426be58ba69ca8e3fc9 [
file
] [
log
] [
blame
]
import
shlex
import
subprocess
import
sys
if
len
(
sys
.
argv
)
<
2
:
print
(
"Too few args to "
+
sys
.
argv
[
0
])
sys
.
exit
(
0
)
try
:
subprocess
.
check_call
(
shlex
.
split
(
sys
.
argv
[
1
]))
sys
.
exit
(
1
)
except
subprocess
.
CalledProcessError
as
e
:
sys
.
exit
(
0
)