Setting overrided core quits the command prompt

When I ran RetroArch in command prompt, If I loads the core setting overrided core(it needs some later consoles N64, Dreamcast for me), Command prompt closes automatically. (I neither click X button nor ‘exit’ command)

It affects when I use RetroArch in Attract-Mode, cause Attract-Mode frontend also quits.