I am working in the following scripto to activate the front end and back end of my project as follows:
#!/bin/bash
cd /Users/perf-fe/
source my_project_34/bin/activate
npm start
&&
cd /Users/perf-be/
export FLASK_APP=router.py
flask run
However it is not working, It is showing just the first part:
#!/bin/bash
cd /Users/perf-fe/
source my_project_34/bin/activate
npm start
&&
Since the first process occupies the entire terminal, I would like to appreciate suggestions
&&will do and what do you want it to do?&&