Fix spawn_cmd option