Answer the question
In order to leave comments, you need to log in
How to sequentially call a utility with a set of arguments?
Often you have to sequentially call one utility with different parameters. Example:
python manage.py makemigrations && python manage.py migrate && python manage.py createsuperuser && ...
python manage.py | [makemigrations, migrate, createsuperuser]
Answer the question
In order to leave comments, you need to log in
echo -n makemigrations migrate createsuperuser | xargs -n 1 -d " " python manage.py
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question