L'exécution de plusieurs scripts Python en même temps et puis de manière séquentielle

Je peut exécuter plusieurs scripts Python simultanément à partir d'un script bash comme cela;

#!/bin/bash
python pr1.py & 
python pr2.py &
python aop.py &
python loader.py &

Mais que si je veux un lot à feu simultanément et après ils ont couru, commencer un peu plus de manière séquentielle. Ce travail?:

#!/bin/bash
python pr1.py & 
python pr2.py &
python ap.py &
python loader.py
python cain.py
python able.py
  • Quelle est votre question?
InformationsquelleAutor manners | 2017-02-06