Cannot run multiple files through csh script

view full story

http://stackoverflow.com – I have a shell script that is supposed to run multiple processes one after the other. It runs 3 processes simultaneously in the background, waits for them to finish and then runs 3 more processes, and so on. It has to do that 12 times. My problem is that once the first 3 processes finish, the original script also terminates. Can you tell me why that is happening? If I just echo the run commands for the processes instead of actually running them, it works fine and goes through all the run commands just fine. Code Organization: I have a folder called "TestSet2_100_100" which has my main scri (HowTos)