title: Bash files: run process in parallel and stop when one is over
body: <p>I would like to start two C codes from a bash file in parallel and the second one stops when the first one has finished.
  The instruction wait expects both processes to stop which is not what I would like to do.
  Thanks for any suggestion.</p>