conemu-inside icon indicating copy to clipboard operation
conemu-inside copied to clipboard

ConEmu Stays Running After Unclean Exit of the Parent Process

Open hypersw opened this issue 10 years ago • 2 comments

Ideally, the control cleans up the child ConEmu process upon destruction. But that's it if can. Aborting a thread, unloading an appdomain, or killing the process prevents this.

In which case ConEmu processes might remain running forever.

ConEmu in the Inside-HWND mode should monitor its parent process and HWND and exit automatically as soon as those are gone.

hypersw avatar Dec 15 '15 01:12 hypersw

151217

Maximus5 avatar Dec 17 '15 21:12 Maximus5

untitled20151223142422

As of 15-12-22.

This happened when I killed the parent winforms process with debugger at the moment when payload process has exited and conemu were showing the "enter or esc" prompt.

Should not prompt user but be killed silently for the whole console process tree. Might be an option, but by default I'd expect such behavior for a built-in terminal.

hypersw avatar Dec 23 '15 11:12 hypersw