示例#1
0
 def action_start(self):
     (ret, msg) = WinServiceController.Start(self.resource.service_name, 5)
     if 0 != ret:
         raise Fail(msg)
示例#2
0
 def action_start(self):
   WinServiceController.Start(self.resource.service_name, 5)