Esempio n. 1
0
 def run(self, *args, **kwargs):
     # protect against poor SIGINT handling. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Esempio n. 2
0
 def run(self, *args, **kwargs):
     # flake8 seems to handle SIGINT poorly. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Esempio n. 3
0
 def run(self, *args, **kwargs):
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Esempio n. 4
0
 def run(self, *args, **kwargs):
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Esempio n. 5
0
 def run(self, *args, **kwargs):
     # flake8 seems to handle SIGINT poorly. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)