Переглянути джерело

Stop dart from sending SIGTERM to run-ci.py

Hamilton Turner 11 роки тому
батько
коміт
666639cefe
1 змінених файлів з 1 додано та 1 видалено
  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)
   out, err = p.communicate()
   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])
       os.kill(pid, 15)
   return 0