for ($i = 0; $i <=10; $i++) { system("myscript.prl $id >> $tmp_file &"); }