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