in reply to Simultaneous system() calls
Check out the work on this already done in Parallel::ForkManager and ForkControl