Skip to content

How to run a flask app in the background , while my entry point file is another file? #395

Answered by Agrover112
Agrover112 asked this question in Q&A
Discussion options

You must be logged in to vote

I found my solution. Instead of using UWSGI default provided by Flask which is single threaded anyway.
I deployed it locally on a port using waitress , then one can use pythonw and set is as a background running startup process at the given port!.
Alternative is to use tmux or screen or python app.py & to run it in the background

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@eddiejaoude
Comment options

Answer selected by Agrover112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants