INADA Naoki 11 years ago
parent
commit
94ea724e1f
2 changed files with 4 additions and 4 deletions
  1. 2 2
      pyramid/setup_py2.py
  2. 2 2
      pyramid/setup_py3.py

+ 2 - 2
pyramid/setup_py2.py

@@ -7,12 +7,12 @@ CWD = os.path.abspath(os.path.dirname(__file__))
 def start(args, logfile, errfile):
     subprocess.Popen(
         "$PY2_GUNICORN wsgi:app -c gunicorn_conf.py",
-        cwd=CWD, sehll=True, stderr=errfile, stdout=logfile)
+        cwd=CWD, shell=True, stderr=errfile, stdout=logfile)
     return 0
 
 
 def stop(logfile, errfile):
     subprocess.call(
         "kill `cat gunicorn.pid`",
-        cwd=CWD, stderr=errfile, stdout=logfile, shell=True)
+        cwd=CWD, shell=True, stderr=errfile, stdout=logfile)
     return 0

+ 2 - 2
pyramid/setup_py3.py

@@ -7,12 +7,12 @@ CWD = os.path.abspath(os.path.dirname(__file__))
 def start(args, logfile, errfile):
     subprocess.Popen(
         "$PY3_GUNICORN wsgi:app -c gunicorn_conf.py",
-        cwd=CWD, sehll=True, stderr=errfile, stdout=logfile)
+        cwd=CWD, shell=True, stderr=errfile, stdout=logfile)
     return 0
 
 
 def stop(logfile, errfile):
     subprocess.call(
         "kill `cat gunicorn.pid`",
-        cwd=CWD, stderr=errfile, stdout=logfile, shell=True)
+        cwd=CWD, shell=True, stderr=errfile, stdout=logfile)
     return 0