def execute(self, name, options, parameters):
   retval = ExecutableDevice.execute(self, name, options, parameters)
   for option in options:
       if option.id == 'STACK_SIZE':
           self._props['check_STACK_SIZE'] = option.value._v
       elif option.id == 'PRIORITY':
           self._props['check_PRIORITY'] = option.value._v
   return retval
 def execute(self, name, options, parameters):
     retval = ExecutableDevice.execute(self, name, options, parameters)
     for option in options:
         if option.id == 'STACK_SIZE':
             self._props['check_STACK_SIZE'] = option.value._v
         elif option.id == 'PRIORITY':
             self._props['check_PRIORITY'] = option.value._v
     return retval
 def execute (self, *args):
   if self.crashEnabled:
     os.kill(os.getpid(), signal.SIGKILL)
   return ExecutableDevice.execute(self, *args)
예제 #4
0
 def execute(self, *args):
     if self.crashEnabled:
         os.kill(os.getpid(), signal.SIGKILL)
     return ExecutableDevice.execute(self, *args)