settaffin
http://www.hayseed.net/~emerson/
A tiny wrapper program that will start itself, set its CPU affinity, then spawn another program specified on the command line, which will inherit this affinity.
Source and Binary
http://www.hayseed.net/~emerson/setaffin-0_1.zip