bkmeneguello
2/19/2013 - 8:15 PM

bash paralelism

#!/bin/bash

trap '<some command>' EXIT #XXX of SIG_XXX

<more commands> & #send to bg

wait #wait bg commands