Add the -name option to spawn().