Reputation: 1
I am trying to write a script that process a sequence job like:
compile project A
start program A
compile project B
then start program B
it works fine ,but the problem is when I run the script it compile A works fine then start program A is fine too ,then stopped, when I close program A then program B starts .. how to run them in the same time?
Upvotes: 0
Views: 291
Reputation: 11228
From your question I'm not totally sure which activities you want to run concurrently, but you can put programs in the background using the &
operator:
program_a &
Upvotes: 1
Reputation: 12535
If you put an '&' at the end of the line where you start program A, that should do the trick.
Upvotes: 4