Browse Source

Stop dart from sending SIGTERM to run-ci.py

Hamilton Turner 11 years ago
parent
commit
666639cefe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dart/setup.py

+ 1 - 1
dart/setup.py

@@ -68,7 +68,7 @@ def stop(logfile, errfile):
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   out, err = p.communicate()
   for line in out.splitlines():
   for line in out.splitlines():
-    if 'dart' in line and 'run-tests' not in line:
+    if 'dart' in line and 'run-tests' not in line and 'run-ci' not in line:
       pid = int(line.split(None, 2)[1])
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 15)
       os.kill(pid, 15)
   return 0
   return 0