Spawn a process and restart it if it crashes