Skip to content

Instantly share code, notes, and snippets.

@prologic
Created September 29, 2014 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prologic/000194eb1645a98f39bf to your computer and use it in GitHub Desktop.
Save prologic/000194eb1645a98f39bf to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
(circuits)
prologic@daisy
Mon Sep 29 15:49:50
~/circuits
$ grin -A 2 -B 2 "SIGKILL"
./circuits/core/manager.py:
27 -
28 - try:
29 : from signal import SIGKILL
30 + except ImportError:
31 : SIGKILL = SIGTERM
32 +
33 +
755 -
756 - if self.__process.is_alive():
757 : kill(self.__process.pid, SIGKILL)
758 +
759 + if not self.running:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment