[Fpm] Cleaner spawn code