Browse Source

master Spring was not shut down correctly

This was only doing singular tests of spring; it would shut
down the toolset/run-tests script and leave spring running.
Mike Smith 11 years ago
parent
commit
c672b6641d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spring/setup.py

+ 1 - 1
spring/setup.py

@@ -17,7 +17,7 @@ def stop(logfile, errfile):
     p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
     out, err = p.communicate()
     for line in out.splitlines():
-      if 'spring' in line:
+      if 'spring.jar' in line:
         pid = int(line.split(None, 2)[1])
         os.kill(pid, 9)
   return 0