How to run celery worker on Windows without creating Windows Service? Is there any analogy to $ celery -A your_application worker?
After feeling like killing myself by using celery 4.4 on windows, I think I can answer this question.
For celery version 4.0 and above, first set following environment variable in python code before creation of celery instance.
os.environ.setdefault('FORKED_BY_MULTIPROCESSING', '1')
Then run celery worker command with default pool option.
celery worker -A -l info
This will run celery worker concurrently with multiple child processes.
Note: When you run celery with gevent or eventlet pool, it will work but it won't run concurrent processes on windows.