Exec a command on each child of an array