Răsfoiți Sursa

Dont kill test runner

Rob Figueiredo 12 ani în urmă
părinte
comite
4b1e60dcae
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      revel/setup.py

+ 1 - 1
revel/setup.py

@@ -16,7 +16,7 @@ def stop():
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   for line in out.splitlines():
-    if 'revel' in line:
+    if 'revel' in line and 'run-tests' not in line:
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 9)
   subprocess.call("git checkout master", shell=True, cwd="revel/src/github.com/robfig/revel")