Why does konsole kill subprocesses when started with -e?

Hi – if I run konsole, then start a process that spawns a process (e.g. midnight commander opens vlc to play a file), and then I exit mc and exit the konsole, the spawned vlc process stays alive, as expected/desired. However if I kill the window instead of quitting mc and doing “exit” from konsole, it kills vlc.

If I run “konsole -e mc” and then spawn a vlc, when I exit midnight commander (and thereby konsole as well) it kills vlc.

What is the reason for this behavior, and is there any way to get around it? I want to do “konsole -e myprogram” but when I leave “myprogram” I want it to exit as it does when you type “exit” into konsole.

Context: I’m trying to use mc as my file browser and have mapped “konsole -e mc” to a hotkey, but everything dies when I exit mc…

Thanks!