1

I have three python scripts that I want to execute at the same time in parallel. I use a bash file as follows:

python3 script1.py &
python3 script2.py &
python3 script3.py
wait

sometimes this works fine, other times it doesn't execute one of the scripts. Can you tell me why?

By the way, I'm running this on linux terminal using the following command


sh filename.sh
Catarina Ribeiro
  • 562
  • 2
  • 16

0 Answers0