spawn processes