fredrik-corneliusson/click-web

Scripts does not run when serving flask-app behind uwsgi

Closed this issue · 0 comments

Now running scripts depends on sys.executable beeing the same python interpreter (and venv) as flask is running as.
This does not work when running behind uwsgi as sys.executable points to uwsgi binary.
Fallback to use the python interpreter in the venv that uwsgi is configured with.