Browse Source

18938 Accidentally specified stderr twice.

Mike Smith 11 years ago
parent
commit
325e13c98f
2 changed files with 4 additions and 4 deletions
  1. 3 3
      revel/setup.py
  2. 1 1
      unfiltered/setup_unfiltered.py

+ 3 - 3
revel/setup.py

@@ -13,9 +13,9 @@ def start(args, logfile):
     subprocess.call(r"go build -o bin\revel.exe github.com/robfig/revel/revel", shell=True, cwd="revel", env=env, stderr=logfile, stdout=logfile)
     subprocess.Popen(r"bin\revel.exe run benchmark prod".rsplit(" "), shell=True, cwd="revel", env=env, stderr=logfile, stdout=logfile)
     return 0
-  subprocess.call("go get -u github.com/robfig/revel/revel", shell=True, cwd="revel", stderr=logfile, stdout=logfile, stderr=logfile, stdout=logfile)
-  subprocess.call("go build -o bin/revel github.com/robfig/revel/revel", shell=True, cwd="revel", stderr=logfile, stdout=logfile, stderr=logfile, stdout=logfile)
-  subprocess.Popen("bin/revel run benchmark prod".rsplit(" "), cwd="revel", stderr=logfile, stdout=logfile, stderr=logfile, stdout=logfile)
+  subprocess.call("go get -u github.com/robfig/revel/revel", shell=True, cwd="revel", stderr=logfile, stdout=logfile)
+  subprocess.call("go build -o bin/revel github.com/robfig/revel/revel", shell=True, cwd="revel", stderr=logfile, stdout=logfile)
+  subprocess.Popen("bin/revel run benchmark prod".rsplit(" "), cwd="revel", stderr=logfile, stdout=logfile)
   return 0
 
 def stop(logfile):

+ 1 - 1
unfiltered/setup_unfiltered.py

@@ -16,7 +16,7 @@ def start(args, logfile):
     DEVNULL = open(os.devnull, 'wb')
 
   subprocess.check_call("../sbt/sbt assembly", shell=True, cwd="unfiltered", stderr=logfile, stdout=logfile)
-  subprocess.Popen("java -jar bench-assembly-1.0.0.jar", stderr=DEVNULL, shell=True, cwd="unfiltered/target/scala-2.10", stderr=logfile, stdout=logfile)
+  subprocess.Popen("java -jar bench-assembly-1.0.0.jar", shell=True, cwd="unfiltered/target/scala-2.10", stderr=logfile, stdout=logfile)
 
   return 0
 def stop(logfile):