Set CPU affinity on a list of programs