Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
vendor
/
fairphone
/
tools
/
d85158d3858c89d3b8dcdd4f35753ceddbdc71a6
/
.
/
bullseye
/
utility.py
blob: 6dfd907f7f26cad2c27b07523b28d6251622285c [
file
] [
log
] [
blame
]
import
os
def
exec_command
(
command
,
quiet
=
False
):
if
quiet
:
command
=
"( {command} ) 1>/dev/null 2>/dev/null"
.
format
(
command
=
command
)
return
os
.
system
(
command
)