def check_run(self, args):
     with signals_ignored(SIGINT):
         check_call(['sudo'] + args)
Esempio n. 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
Esempio n. 4
0
 def run(self, args):
     with signals_ignored(SIGINT):
         return call(['sudo'] + args) == 0