in reply to forks for running multiple codes at same time
You may also want to take a look at runN, which runs a program over a set of parameters. Also, BrowserUk provided me with a nice queue based thread solution.