0

From this post, I stumbled upon the following bash script.

stunnel4 stunnel/dev_https &
python manage.py runserver &
python manage.py runserver 8001

What does an and operator do in this case?

Community
  • 1
  • 1
Maximus S
  • 10,759
  • 19
  • 75
  • 154
  • 1
    possible duplicate of [What does ampersand mean at the end of a shell script line?](http://unix.stackexchange.com/questions/86247/what-does-ampersand-mean-at-the-end-of-a-shell-script-line) – csiu Jan 19 '14 at 06:50

1 Answers1

4

The ampersands put the execution of those commands/processes into the background. The commands are started and then control immediately returns to the script to execute the next line. (In other words, the script is not blocked while they run/finish.)

Turix
  • 4,470
  • 2
  • 19
  • 27