I want to do the following from the tcsh command line, preferably in 1 line:
build_cmd1 &
build_cmd2 &
build_cmd3 &
wait until all parallel build commands finish
regression_cmd
That is, I want to fork off a bunch of build commands, block until they exit, and then run another command. I want to do this from the tcsh command line.
( cmd1 & ; cmd 2 & ; cmd 3 & ; wait ) && thing_to_do_after
Also, your second answer blocks on cmd3, but not on cmd2 and cmd1.
– Ross Rogers Jul 09 '10 at 20:45