How can I run two programs at the same time, but when they are in different directories? (Tcsh shell)

272 views Asked by At

https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t34.0-12/10552001_889617264385887_1227118886_n.jpg?oh=427fdd64a4b7ff8f15436138ee891c12&oe=53CB7A3D&gda=1405839405_dca202c38f41ec98c45bad334e57ad6b

I want to run both of the run.sh files

I'm really new to Linux so could someone just spell this out for me. I know that I'd have to go into one of the directories and say

./run.sh & (insert something) &

Could someone help me out please

Would it be something like:

./run.sh & Parallella/parallella-examples/aobench/./run.sh &`

?

1

There are 1 answers

3
hek2mgl On BEST ANSWER

You can start the commands like this:

(./run.sh &) && (cd Parallella/parallella-examples/aobench; ./run.sh &)