Changed exec to spawn