Update examples to use spawn instead of nospawn