Пример #1
0
 def check_execv_args(self, filename, argv, st):
     if filename == '/bad/filename':
         from supervisor.options import NotFound
         raise NotFound('bad filename')
 def check_execv_args(filename, argv, st):
     print("check_execv_args - filename: %s, argv: %s, st: %s" %
           (filename, argv, st))
     if st is None:
         raise NotFound("can't find command %r" % filename)