def check_run(self, args):
     with signals_ignored(SIGINT):
         check_call(['sudo'] + args)
Beispiel #2
0
 def check_run(self, args):
     with signals_ignored(SIGINT):
         check_call(['sudo'] + args)
 def run(self, args):
     with signals_ignored(SIGINT):
         return call(['sudo'] + args) == 0
Beispiel #4
0
 def run(self, args):
     with signals_ignored(SIGINT):
         return call(['sudo'] + args) == 0