Skip to content

How do I run commands concurrently? #26864

Answered by ethomson
prakharrr asked this question in Actions
Discussion options

You must be logged in to vote

It sounds like you might want to run the server in the background?  The & symbol at the end of a command in bash will run the command in the background.  For example, to run rabbitmq-server in the background, and the receiver _also_ in the background, and then run (blocking) on the sender:

  • run: |

    rabbitmq-server &

    python3 receiver.py &

    python3 sender.py

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants